aboutsummaryrefslogtreecommitdiff
path: root/src/app/app.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/app.module.ts')
-rw-r--r--src/app/app.module.ts40
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 {}