We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50c7141 commit 329ed0eCopy full SHA for 329ed0e
app/favourite/favourite.factory.js
@@ -181,7 +181,8 @@
181
// WARNING: when deleting, I'm using firebase directly because angularfire just give you the deleted key but not the actual
182
// record. And you can't get it yourself because by the time you get notified, the local one is already deleted.
183
// So in order to get best of both world and do what I want to do the easy way, I'm mixing here angularfire and pure firebase
184
- // code.
+ // code which is kind of a good thing cause angularfire intent is not to replace the firebase sdk completely but just simplify
185
+ // integration with angular when it makes sense.
186
var ref = faves.$ref();
187
ref.on('child_removed', function (snapshot) {
188
var value = snapshot.val();
0 commit comments