View Tree Collapse and Expand Mode :
The markup used is html table.
Using ng-repeat is getting tricky.
The data for each row is as below
{ "id":1,"name":"Groceries","price":"0","total":"20","parentFlag":"true","parentId":"",childItems :[{},{}] }
Using ul,li tags we can achieve this using ng-include.
But existing app markup uses table. I am starting to think changing the markup to use ul,li, div is the "only" way to go. Am I missing something here. Any pointers/approaches ??