app.module.ts
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { NgModule, ErrorHandler } from '@angular/core';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { MyApp } from './app.component';
import { MenuPage } from '../pages/menu/menu';
import { UnitPage } from '../pages/unit/unit';
import { QaPage } from '../pages/qa/qa';
import { ExtunitPage } from '../pages/extunit/extunit';
import { ExtqaPage } from '../pages/extqa/extqa';
import { HelpPage } from '../pages/help/help';
import { StatusPage } from '../pages/status/status'
import { DataService } from '../providers/data-service';
import { Storage } from '@ionic/storage';
import { ChartsModule } from 'ng2-charts/charts/charts';
import '../../node_modules/chart.js/dist/Chart.bundle.min.js';
@NgModule({
declarations: [
MyApp,
MenuPage,
UnitPage,
QaPage,
ExtunitPage,
ExtqaPage,
HelpPage,
StatusPage
],
imports: [
IonicModule.forRoot(MyApp),
ChartsModule
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
MenuPage,
UnitPage,
QaPage,
ExtunitPage,
ExtqaPage,
HelpPage,
StatusPage
],
providers: [{ provide: ErrorHandler, useClass: IonicErrorHandler }, Storage, DataService]
})
export class AppModule {}