Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

My object model is a list of ItemLines, which each contain a number("quantity") of "part". Here is the data structure:

ordersItemLines = [{ "quantity": 1, "part": { "id": "part1", "name": "Part One", "quantity": null, "part_action": { "id": "Action1" } }, ...]

I am trying to display a list of parts, grouped by Part.Action, and then grouped by Part.id, to finally display the number of parts with the same ID found for a given action.

But somehow, the nested ng-repeat keeps iterating on the first value of grouping['itemLines'] from the parent ng-repeat. See the screenshot here: enter image description here

And finally here is the code in a JSFiddle.

Thanks for your help!

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.