Skip to content

Commit

Permalink
Step 7.14: Import login component
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Mar 23, 2017
1 parent f28beee commit 35369e1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/app.module.ts
Expand Up @@ -2,6 +2,7 @@ import { NgModule, ErrorHandler } from '@angular/core';
import { MomentModule } from 'angular2-moment';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { ChatsPage } from '../pages/chats/chats';
import { LoginPage } from '../pages/login/login';
import { MessagesPage } from '../pages/messages/messages';
import { PhoneService } from '../services/phone';
import { MyApp } from './app.component';
Expand All @@ -10,7 +11,8 @@ import { MyApp } from './app.component';
declarations: [
MyApp,
ChatsPage,
MessagesPage
MessagesPage,
LoginPage
],
imports: [
IonicModule.forRoot(MyApp),
Expand All @@ -20,7 +22,8 @@ import { MyApp } from './app.component';
entryComponents: [
MyApp,
ChatsPage,
MessagesPage
MessagesPage,
LoginPage
],
providers: [
{provide: ErrorHandler, useClass: IonicErrorHandler},
Expand Down

0 comments on commit 35369e1

Please sign in to comment.