Skip to content

Commit

Permalink
Step 2.5: Add chats page to the NgModule
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Mar 23, 2017
1 parent 2a06d46 commit 596a957
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/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 596a957

Please sign in to comment.