AngularFire Service Demo

Here's a distilled list of the most important methods you'll be using with Firebase and AngularFire.

Click on the method to view it in the context of the documentation.

  • $add(data): Make a new record in the database that will be added to our array
  • $remove(itemToRemove): Remove a record from the database and from our array
  • $save(itemToSave): Update an existing record in our database
  • $loaded: The $firebaseArray data takes time to load from the database - use this method to do something once your array has loaded.