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 darkbasic committed Oct 16, 2017
1 parent da3d1ad commit f69ee2c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/app/app.module.ts
Expand Up @@ -5,13 +5,14 @@ import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { MomentModule } from 'angular2-moment';
import { ChatsPage } from '../pages/chats/chats';

import { MessagesPage } from '../pages/messages/messages';
import { MyApp } from './app.component';

@NgModule({
declarations: [
MyApp,
ChatsPage
ChatsPage,
MessagesPage
],
imports: [
BrowserModule,
Expand All @@ -21,7 +22,8 @@ import { MyApp } from './app.component';
bootstrap: [IonicApp],
entryComponents: [
MyApp,
ChatsPage
ChatsPage,
MessagesPage
],
providers: [
StatusBar,
Expand Down

0 comments on commit f69ee2c

Please sign in to comment.