SHARE
TWEET

Untitled

a guest Aug 17th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 {}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top