Skip to content

Commit

Permalink
Step 8.9: Import new chat component
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Mar 23, 2017
1 parent 3de0e71 commit 830fb6b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/app.module.ts
Expand Up @@ -2,6 +2,7 @@ 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 { NewChatComponent } from '../pages/chats/new-chat';
import { ChatsOptionsComponent } from '../pages/chats/chats-options';
import { LoginPage } from '../pages/login/login';
import { MessagesPage } from '../pages/messages/messages';
Expand All @@ -18,7 +19,8 @@ import { MyApp } from './app.component';
LoginPage,
VerificationPage,
ProfilePage,
ChatsOptionsComponent
ChatsOptionsComponent,
NewChatComponent
],
imports: [
IonicModule.forRoot(MyApp),
Expand All @@ -32,7 +34,8 @@ import { MyApp } from './app.component';
LoginPage,
VerificationPage,
ProfilePage,
ChatsOptionsComponent
ChatsOptionsComponent,
NewChatComponent
],
providers: [
{provide: ErrorHandler, useClass: IonicErrorHandler},
Expand Down

0 comments on commit 830fb6b

Please sign in to comment.