Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { BrowserModule } from '@angular/platform-browser';
- import { NgModule, ErrorHandler } from '@angular/core';
- import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
- import { MyApp } from './app.component';
- import { HelloIonicPage } from '../pages/hello-ionic/hello-ionic';
- import { ItemDetailsPage } from '../pages/item-details/item-details';
- import { ListPage } from '../pages/list/list';
- import { StatusBar } from '@ionic-native/status-bar';
- import { SplashScreen } from '@ionic-native/splash-screen';
- @NgModule({
- declarations: [
- MyApp,
- HelloIonicPage,
- ItemDetailsPage,
- ListPage
- ],
- imports: [
- BrowserModule,
- IonicModule.forRoot(MyApp),
- ],
- bootstrap: [IonicApp],
- entryComponents: [
- MyApp,
- HelloIonicPage,
- ItemDetailsPage,
- ListPage
- ],
- providers: [
- StatusBar,
- SplashScreen,
- {provide: ErrorHandler, useClass: IonicErrorHandler}
- ]
- })
- export class AppModule { }
Add Comment
Please, Sign In to add comment