3 ms·
Yup. I'm also trying to learn AngularJS at the same time so the hits, they keep'a'coming. ( = It would be nice in the AngularFire documentation if they were cl
by drhayes9 13y ago
Yup. I'm also trying to learn AngularJS at the same time so the hits, they keep'a'coming. ( =
It would be nice in the AngularFire documentation if they were clear what was a promise (implicit binding) and what wasn't (explicit binding).
One of the things I ran into (which I hope they add to the documentation): before using implicit binding, create the object on the $scope in your controller first. Only after the empty object is on the scope should you call "angularFire(ref, $scope, 'thing');". The error that shows up if you don't do that is rather cryptic.
- joshstrange 13y agoYes, I too ran into this problem and found the answer in the github issue tracker[0]. I ran into other issues in the 0.2.0->0.3.0 change where they made quite a few small changes without releasing any upgrade instructions or changelog. [0] https://github.com/firebase/angularFire/issues/105 https://github.com/firebase/angularFire/issues/105
- sararob 13y agoThanks for the feedback (Firebase Community Manager here). We're working on improving the documentation. Feel free to email me at sara@firebase.com if you have more suggestions.