diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 386352774..ec5477b4f 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -2,12 +2,14 @@ import { NgModule, ErrorHandler } from '@angular/core'; import { MomentModule } from 'angular2-moment'; import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular'; import { ChatsPage } from '../pages/chats/chats'; +import { MessagesPage } from '../pages/messages/messages'; import { MyApp } from './app.component'; @NgModule({ declarations: [ MyApp, - ChatsPage + ChatsPage, + MessagesPage ], imports: [ IonicModule.forRoot(MyApp), @@ -16,7 +18,8 @@ import { MyApp } from './app.component'; bootstrap: [IonicApp], entryComponents: [ MyApp, - ChatsPage + ChatsPage, + MessagesPage ], providers: [{provide: ErrorHandler, useClass: IonicErrorHandler}] })