Angularfire: Adopt NgModule

Created on 13 Jul 2016  路  3Comments  路  Source: angular/angularfire

Provide a FirebaseModule to be referred to by standard AppModules.

  • [ ] Move FIREBASE_PROVIDERS into the FirebaseModule.

See this gist:
https://gist.github.com/StephenFluin/672b85faef772b8102457f4fe5dd02ce

cc: @wardbell @IgorMinar

providers feature

Most helpful comment

TODOs

  • [ ] Get rid of typings in favor of @types
  • [ ] Get rid of firebase3.d.ts (assuming version published to @types is good)
  • [ ] Add new TS module with NgModule (don't include module in angularfire2.ts yet)
  • [ ] Create a configuration interface for the NgModule that merges defaultFirebase and firebaseAuthConfig configuration objects.

All 3 comments

Note that this is blocked by Angular RC.5

And in hindsight it should probably be AngularFireModule, not FirebaseModule.

TODOs

  • [ ] Get rid of typings in favor of @types
  • [ ] Get rid of firebase3.d.ts (assuming version published to @types is good)
  • [ ] Add new TS module with NgModule (don't include module in angularfire2.ts yet)
  • [ ] Create a configuration interface for the NgModule that merges defaultFirebase and firebaseAuthConfig configuration objects.
Was this page helpful?
0 / 5 - 0 ratings