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
DAB0mB committed Feb 26, 2017
1 parent 2aa0945 commit 6d81fa3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/imports/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 6d81fa3

Please sign in to comment.