Skip to content

Commit

Permalink
Step 6.4: Import MessagesPage in the NgModule
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Feb 13, 2017
1 parent 3c3f9d2 commit c1e9b47
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/app.module.ts
Expand Up @@ -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),
Expand All @@ -16,7 +18,8 @@ import { MyApp } from './app.component';
bootstrap: [IonicApp],
entryComponents: [
MyApp,
ChatsPage
ChatsPage,
MessagesPage
],
providers: [{provide: ErrorHandler, useClass: IonicErrorHandler}]
})
Expand Down

0 comments on commit c1e9b47

Please sign in to comment.