2017-10-18 10:20:40 +00:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { ErrorHandler, NgModule } from '@angular/core';
|
|
|
|
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
|
|
|
|
import { SplashScreen } from '@ionic-native/splash-screen';
|
|
|
|
import { StatusBar } from '@ionic-native/status-bar';
|
2017-10-25 13:17:59 +00:00
|
|
|
import { SQLite } from '@ionic-native/sqlite';
|
2017-10-18 10:20:40 +00:00
|
|
|
|
|
|
|
import { MyApp } from './app.component';
|
2017-10-23 08:58:03 +00:00
|
|
|
import { CoreLoggerProvider } from '../providers/logger';
|
2017-10-25 13:17:59 +00:00
|
|
|
import { CoreDbProvider } from '../providers/db';
|
2017-10-18 10:20:40 +00:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
MyApp
|
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
IonicModule.forRoot(MyApp)
|
|
|
|
],
|
|
|
|
bootstrap: [IonicApp],
|
|
|
|
entryComponents: [
|
|
|
|
MyApp
|
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
StatusBar,
|
|
|
|
SplashScreen,
|
2017-10-25 13:17:59 +00:00
|
|
|
SQLite,
|
2017-10-23 08:58:03 +00:00
|
|
|
{provide: ErrorHandler, useClass: IonicErrorHandler},
|
2017-10-25 13:17:59 +00:00
|
|
|
CoreLoggerProvider,
|
|
|
|
CoreDbProvider
|
2017-10-18 10:20:40 +00:00
|
|
|
]
|
|
|
|
})
|
|
|
|
export class AppModule {}
|