normally, we can use ngRepeat="item in items" then use item.name to print out the name of the item. But what if the item has a dynamic structure which is only generated at run-time?
Say the item may have the following structure.
e.g.
data{
field1: textfield;
field2: integerfield;
data:{
field1:textfield;
data:{
field1:radiofield;
}
...
}
}
How can we print out all 'leaves' of this tree ?