Advertisement
Guest User

Untitled

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