AngularFire2
The official library for Firebase and Angular 2
Status: Release candidate
What is AngularFire2?
- Observable based - Use the power of rxjs, Angular 2, and Firebase.
- Realtime bindings - Synchronize database collections as objects or lists.
- Authentication - Monitor authentication state in realtime.
Quick links
Plunker Template - Requires to set your Firebase credentials in app.module.ts
.
Upgrading to v4.0? Check out our guide.
Install
npm install firebase angularfire2 --save
Example use:
;;
Developer Guide
If you want to get started quickly on building with AngularFire2, check out our 5 step developer guide that will teach you everything you need to know to be productive with AngularFire2.
- Installation & Setup
- Retrieving data as objects - FirebaseObjectObservable
- Retrieving data as lists - FirebaseListObservable
- Querying lists
- User Authentication - FirebaseAuthentication
- Using AngularFire2 with Ionic 2
- Using AngularFire2 with Ionic 3 and Angular 4
- Deploying AngularFire2 to FirebaseHosting