Reputation: 43
//controller code.
var fireurl = 'https://someuerid.firebaseio.com/'
var usersref = new Firebase(fireurl);
angularFire(usersref.limit(10), $scope, "userConcalls");
//view code
<li ng-repeat="(key, value) in userConcalls">key:{{key}} value: {{value}} </li>
Error Uncaught Error: Firebase.child failed: First argument was an invalid path: ".priority". Paths must be non-empty strings and can't contain ".", "#", "$", "[", or "]"
Upvotes: 0
Views: 111
Reputation: 38
Your code is correct. But it looks like you were violating the character set limitations for Firebase references. How exactly does you data structure look like? See https://www.firebase.com/docs/creating-references.html
Upvotes: 1