Created
June 8, 2018 12:47
-
-
Save adash333/3fdf434e6d1f50cfa812f9650148e665 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 { HttpClientModule } from '@angular/common/http'; | |
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 { LoginPage } from '../pages/login/login'; | |
import { StatusBar } from '@ionic-native/status-bar'; | |
import { SplashScreen } from '@ionic-native/splash-screen'; | |
import { AuthProvider } from '../providers/auth/auth'; | |
// Import Firebase / environment and config and initialize | |
import * as firebase from 'firebase'; | |
import { environment } from '../environments/environment'; | |
firebase.initializeApp(environment.firebase); | |
@NgModule({ | |
declarations: [ | |
MyApp, | |
HomePage, | |
ListPage, | |
LoginPage | |
], | |
imports: [ | |
BrowserModule, | |
IonicModule.forRoot(MyApp), | |
HttpClientModule | |
], | |
bootstrap: [IonicApp], | |
entryComponents: [ | |
MyApp, | |
HomePage, | |
ListPage, | |
LoginPage | |
], | |
providers: [ | |
StatusBar, | |
SplashScreen, | |
{provide: ErrorHandler, useClass: IonicErrorHandler}, | |
AuthProvider | |
] | |
}) | |
export class AppModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment