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 darkbasic committed Jun 13, 2017
1 parent c4954e4 commit 909d983
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/app.module.ts
Expand Up @@ -3,20 +3,23 @@ import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { ChatsPage } from '../pages/chats/chats';

import { MyApp } from './app.component';

@NgModule({
declarations: [
MyApp
MyApp,
ChatsPage
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp
MyApp,
ChatsPage
],
providers: [
StatusBar,
Expand Down

0 comments on commit 909d983

Please sign in to comment.