I'm new to angular js, was looking through the docs in angular doc. I tried this way of doing, but no data was shown. Am I doing something wrong?
My array:
$scope.newArray = [{
name: 'Robert',
chemical: [{
chem_status:"Active",
chem_code:"0098A"
}]
place: 'London'
},
{
name: 'Andy',
chemical: [{
chem_status:"Active",
chem_code:"0098A"
}]
place: 'London'
}
];
And here is my html code:-
<tr role="row" ng-repeat="chemical in newArray.chemical by $index">
<td class="sorting_1">{{chemical.chem_status}}</td>