Skip to content

Commit

Permalink
Step 2.3: Add chats page to the NgModule
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB committed Feb 13, 2017
1 parent 2bd561e commit 4177bbe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 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 }
Expand Down

0 comments on commit 4177bbe

Please sign in to comment.