Created
September 29, 2016 17:59
-
-
Save yannbf/ed258e447822dc430f2146731ba6ba87 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 { NgModule } from '@angular/core'; | |
import { IonicApp, IonicModule } from 'ionic-angular'; | |
import { MyApp } from './app.component'; | |
import { HomePage } from '../pages/home/home'; | |
import { AngularFireModule } from 'angularfire2'; | |
// Must export the config | |
export const firebaseConfig = { | |
apiKey: '<your-key>', | |
authDomain: '<your-project-authdomain>', | |
databaseURL: '<your-database-URL>', | |
storageBucket: '<your-storage-bucket>' | |
}; | |
@NgModule({ | |
declarations: [ | |
MyApp, | |
HomePage | |
], | |
imports: [ | |
IonicModule.forRoot(MyApp), | |
AngularFireModule.initializeApp(firebaseConfig) | |
], | |
bootstrap: [IonicApp], | |
entryComponents: [ | |
MyApp, | |
HomePage | |
], | |
providers: [] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment