Guest User

Untitled

a guest
Jun 18th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. import { BrowserModule } from '@angular/platform-browser';
  2. import { NgModule, ErrorHandler } from '@angular/core';
  3. import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
  4. import { MyApp } from './app.component';
  5. import { HelloIonicPage } from '../pages/hello-ionic/hello-ionic';
  6. import { ItemDetailsPage } from '../pages/item-details/item-details';
  7. import { ListPage } from '../pages/list/list';
  8. import { StatusBar } from '@ionic-native/status-bar';
  9. import { SplashScreen } from '@ionic-native/splash-screen';
  10.  
  11. @NgModule({
  12. declarations: [
  13. MyApp,
  14. HelloIonicPage,
  15. ItemDetailsPage,
  16. ListPage
  17. ],
  18. imports: [
  19. BrowserModule,
  20. IonicModule.forRoot(MyApp),
  21. ],
  22. bootstrap: [IonicApp],
  23. entryComponents: [
  24. MyApp,
  25. HelloIonicPage,
  26. ItemDetailsPage,
  27. ListPage
  28. ],
  29. providers: [
  30. StatusBar,
  31. SplashScreen,
  32. {provide: ErrorHandler, useClass: IonicErrorHandler}
  33. ]
  34. })
  35. export class AppModule { }
Add Comment
Please, Sign In to add comment