suman goud

suman goud

  • NA
  • 176
  • 51.3k

how to bind tree structure using angular

Dec 21 2016 12:24 AM
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
}

Answers (1)