Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have the following plunker:

http://plnkr.co/edit/7VkKbr9r1CQ2PA95826U

I want to build a list that will represent the data in the json file.(probably recursion?)

The json can be changed as needed. the depth of the nested items is not known,

Thanks

share|improve this question
1  
Have a look at stackoverflow.com/questions/14812909/… –  Nicolae Olariu Feb 22 at 1:15

1 Answer 1

I looked at the link that Nicolae Olariu gave me and managed to create what I wanted if I had the data head a time. If I got it from the server I had a problem as mentioned in my following question:

JSON parsing error in angularjs when getting from server but not when static

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.