Permalink
Browse files

Step 2.5: Add chats page to the NgModule

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent feb7119 commit a19d5979aea5faca5ea38175472b0959361470dc
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/app/app.module.ts
View
@@ -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,

0 comments on commit a19d597

Please sign in to comment.