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