Home / Companies / Firebase / Blog / March 2016

March 2016 Summaries

1 posts from Firebase

Filter
Month: Year:
Post Summaries Back to Blog
AngularFire 1.2 adds dependency injection for Firebase references through `$firebaseRefProvider`, allowing developers to register one or multiple Firebase URLs during Angular’s configuration phase and inject those references into controllers, services, and factories instead of constructing them directly with `new Firebase()`. This approach reduces coupling between application and object-construction logic, improving unit-testability and supporting named references alongside a required default root URL. The release also simplifies authentication with `$firebaseAuthService`, which automatically creates authentication support from registered Firebase URLs and can be used in route resolves to wait for user authentication without manually creating a `$firebaseAuth` instance. Although AngularFire 2 development is underway, the team continues to maintain AngularFire 1, and version 1.2 is available through Bower or npm.
Mar 28, 2016 351 words in the original blog post.