-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.module.ts
49 lines (41 loc) · 1.18 KB
/
app.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
import { ListPage } from '../pages/list/list';
import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';
import { AngularFireModule } from 'angularfire2';
export const FirabaseConfig = {
apiKey: "AIzaSyDNdbwRAGkEyRb9EteyXfeirnDoD1bLU9M",
authDomain: "vdau-d866f.firebaseapp.com",
databaseURL: "https://vdau-d866f.firebaseio.com",
projectId: "vdau-d866f",
storageBucket: "vdau-d866f.appspot.com",
messagingSenderId: "762609227880"
};
@NgModule({
declarations: [
MyApp,
HomePage,
ListPage
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp),
AngularFireModule.initializeApp(FirabaseConfig)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage,
ListPage
],
providers: [
StatusBar,
SplashScreen,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
export class AppModule {}