angularjs - Getting unique id in firebase -


i using firebase project , trying of objects database, running piece of code them:

var ref = new firebase("https://<fire-base-database>.firebaseio.com/games"); $scope.games = $firebasearray(ref); 

i getting objects correctly when try access id's .$id not getting data back...

is there way of getting object unique id (which looks jltq-w2rtwpoukb2_gp)? need show detail view of item when clicks on it.

thank in advance!

i managed solve getting key in ng-repeat (key, games) in games , gave me access key.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -