diff options
| author | Kumar Priyansh <[email protected]> | 2018-09-09 08:19:27 +0530 |
|---|---|---|
| committer | Kumar Priyansh <[email protected]> | 2018-09-09 08:19:27 +0530 |
| commit | 5ef465dab66d20100630bba6a42f47c243aa476a (patch) | |
| tree | d95a1f961888d451733c947e42e56f49271f04be /src/app/app.module.ts | |
| download | NewsApp-5ef465dab66d20100630bba6a42f47c243aa476a.tar.xz NewsApp-5ef465dab66d20100630bba6a42f47c243aa476a.zip | |
Files Upload via GIT
Diffstat (limited to 'src/app/app.module.ts')
| -rw-r--r-- | src/app/app.module.ts | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/app/app.module.ts b/src/app/app.module.ts new file mode 100644 index 0000000..e2c9d8d --- /dev/null +++ b/src/app/app.module.ts @@ -0,0 +1,40 @@ +import { NgModule, ErrorHandler } from '@angular/core'; +import { BrowserModule } from '@angular/platform-browser'; +import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular'; +import { MyApp } from './app.component'; + +import { AboutPage } from '../pages/about/about'; +import { ContactPage } from '../pages/contact/contact'; +import { HomePage } from '../pages/home/home'; +import { TabsPage } from '../pages/tabs/tabs'; + +import { StatusBar } from '@ionic-native/status-bar'; +import { SplashScreen } from '@ionic-native/splash-screen'; + +@NgModule({ + declarations: [ + MyApp, + AboutPage, + ContactPage, + HomePage, + TabsPage + ], + imports: [ + BrowserModule, + IonicModule.forRoot(MyApp) + ], + bootstrap: [IonicApp], + entryComponents: [ + MyApp, + AboutPage, + ContactPage, + HomePage, + TabsPage + ], + providers: [ + StatusBar, + SplashScreen, + {provide: ErrorHandler, useClass: IonicErrorHandler} + ] +}) +export class AppModule {} |
