Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
37 lines (35 sloc) 1.05 KB
import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { AngularFireModule } from 'angularfire2';
import { AngularFirestoreModule } from 'angularfire2/firestore';
import { firebaseConfig } from '../environment';
import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
import { TodosProvider } from '../providers/todos/todos';
@NgModule({
declarations: [
MyApp,
HomePage
],
imports: [
BrowserModule,
AngularFireModule.initializeApp(firebaseConfig),
AngularFirestoreModule.enablePersistence(),
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage
],
providers: [
StatusBar,
SplashScreen,
{provide: ErrorHandler, useClass: IonicErrorHandler},
TodosProvider
]
})
export class AppModule {}
You can’t perform that action at this time.