Skip to content

Instantly share code, notes, and snippets.

@0x-r4bbit
Created January 5, 2017 18:08
Show Gist options
  • Save 0x-r4bbit/eb8c12b8b49ee81084986440d100a089 to your computer and use it in GitHub Desktop.
Save 0x-r4bbit/eb8c12b8b49ee81084986440d100a089 to your computer and use it in GitHub Desktop.
@NgModule({
providers: []
})
export class ConfiguredAngularFireModule {
configure(config) {
return AngularFireModule.initializeApp(config, {
provider: AuthProviders.Password,
method: AuthMethods.Password
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment