Skip to content

Instantly share code, notes, and snippets.

@adnanmc
Created April 28, 2017 20:21
Show Gist options
  • Save adnanmc/1b1eef614f050a4e982c55d0c1826df6 to your computer and use it in GitHub Desktop.
Save adnanmc/1b1eef614f050a4e982c55d0c1826df6 to your computer and use it in GitHub Desktop.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AngularFireModule } from 'angularfire2';
import { AppComponent } from './app.component';
// Must export the config
export const firebaseConfig = {
apiKey: "",
authDomain: "",
databaseURL: "",
storageBucket: ""
};
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule,
AngularFireModule.initializeApp(firebaseConfig)
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment