I'm working on a project in AngularJS.
I have JSON as
{
"leagues":{
"aLeague":{
"country":"aCountry",
"matchs":{
"aUniqueID1":{
"date":"2014-09-07 13:00:00",
"guest_player":"Me",
"host_player":"Tom",
"odds":{
"guest":"2.80",
"host":"2.25",
"null":"2.85"
},
"score":"0 - 0"
},
"aUniqueID2":{
"date":"2014-09-07 18:30:00",
"guest_player":"Bryan",
"host_player":"Me",
"odds":{
"guest":"3.25",
"host":"1.98",
"null":"2.95"
},
"score":"0 - 0"
}
}
}
}
}
And I want to display it guest_player
and host_player
in a ng-repeat
.
But I'm not able to access to aUniqueID1
or aUniqueID2
.
Any ideas?