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
Post a Comment