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:
And finally here is the code in a JSFiddle.
Thanks for your help!