i want to bind tree view using angular in list (li), accordion or other
angular code
$scope.groups = [
{
ID: 1,
Name: "parent",
ParentID:0
},
{
ID: 2,
Name: "child",
ParentID: 1
},
{
ID: 3,
Name: "subchild1",
ParentID: 2
},
{
ID: 4,
Name: "subchild2",
ParentID: 2
}

Amit Kumar SinghRank #562 · 4.3K reputationPosted Dec 20, 2016, 8:38 PM EST
Have a look at this fiddle http://jsfiddle.net/brendanowen/uXbn6/8/
This should give you a good idea of how to display a
tree like structureusing angular. It is kind of using recursion in html!