I wish to access the object '2016-11-12' inside the $scope.list and display the Order and Balance. How could achieve that?
List:
$scope.list = {
ItemCode:'item1',
'2016-11-12':[{Order:'1',Balanace:'2'}],
'2016-11-15':[{Order:' ',Balanace:' '}]
}
I've tried indexof
but it seems doesn't work.
$scope.list[0].indexof(1)
Any idea and suggestion will be great!