/
app.module.ts
35 lines (34 loc) · 964 Bytes
/
app.module.ts
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
import { NgModule, ErrorHandler } from '@angular/core';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { MyApp } from './app.component';
import { TabsPage } from '../pages/tabs/tabs';
import { ChatsPage } from "../pages/chats/chats";
import { MomentModule } from "angular2-moment";
import { MessagesPage } from "../pages/messages/messages";
import { LoginComponent } from "../pages/auth/login";
import { VerificationComponent } from "../pages/verification/verification";
@NgModule({
declarations: [
MyApp,
ChatsPage,
TabsPage,
MessagesPage,
LoginComponent,
VerificationComponent
],
imports: [
IonicModule.forRoot(MyApp),
MomentModule
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
ChatsPage,
TabsPage,
MessagesPage,
LoginComponent,
VerificationComponent
],
providers: [{provide: ErrorHandler, useClass: IonicErrorHandler}]
})
export class AppModule {}