I am trying to create a tree control to use in AngularJS. In an attempt to do this, I'm basing my implementation on this JSFiddle.
This example uses a single 'Parent' element. How could I modify this example such that I could have multiple parents? I need to have a structure like this:
Parent 1
Child A
GC I
GC II
Child B
Parent 2
Child C
GC III
Child D
GC IV
GC V
GV VI
Parent 3
Child E
Child F
For the life of me, I can't figure out how to get multiple parent objects to work. Thank you!