From 4177bbe536dc7b8c59a8410a942030e951859df7 Mon Sep 17 00:00:00 2001 From: DAB0mB Date: Mon, 6 Feb 2017 23:33:08 -0200 Subject: [PATCH] Step 2.3: Add chats page to the NgModule --- client/imports/app/app.module.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/client/imports/app/app.module.ts b/client/imports/app/app.module.ts index 296e28d..7a8144b 100644 --- a/client/imports/app/app.module.ts +++ b/client/imports/app/app.module.ts @@ -1,17 +1,20 @@ import { NgModule, ErrorHandler } from '@angular/core'; import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular'; +import { ChatsPage } from '../pages/chats/chats' import { MyApp } from './app.component'; @NgModule({ declarations: [ - MyApp + MyApp, + ChatsPage ], imports: [ IonicModule.forRoot(MyApp), ], bootstrap: [IonicApp], entryComponents: [ - MyApp + MyApp, + ChatsPage ], providers: [ { provide: ErrorHandler, useClass: IonicErrorHandler }