How can I access the object '2016-11-12' inside the $scope.list and display the Order and Balance values?
List:
$scope.list = {
ItemCode:'item1',
'2016-11-12':[{Order:'1',Balanace:'2'}],
'2016-11-15':[{Order:'',Balanace:''}]
}
I attempted to use indexOf
but it didn't work as expected.
$scope.list[0].indexof(1)
Any suggestions or ideas would be highly appreciated!