Created
April 28, 2017 20:21
-
-
Save adnanmc/1b1eef614f050a4e982c55d0c1826df6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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