i have a data model which is an array having some object. these object may contain some child objects.so how to run ng-repeat on both these in one ng-repeat attribue.. here is an examle JSON
[
{
"foo": "bar",
"values": null,
"children": [
{
"foo": "bar",
"values": null,
"children": null
}
]
},
{
"foo": "bar",
"children": [
{
"id": 1,
"ques": "something"
}
]
}
]