I have an value like that my problem is i don\'t know how much nested that dummy array object so how to use ng-repeat that print all dummy array object
demo:
try like this. as this answers: How to put ng-repeat inside ng-repeat for n number of times and How can I make recursive templates in AngularJS when using nested objects?
var app = angular.module("app", []);
app.controller('mainCtrl', function($scope){
$scope.demo = [{
id: 1,
dummy: [
{
id: 1,
dummy: [
{
id: 1,
dummy: [
{
id: 1,
dummy: [
{
id: 1,
dummy:[]
}
]
}
]
}
]
}
]
}]
});