Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Step 2.15: Import MomentModule into our app module
  • Loading branch information
dotansimha authored and DAB0mB committed Feb 13, 2017
1 parent 9f900b8 commit 1d98191
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/app.module.ts
@@ -1,4 +1,5 @@
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 { MyApp } from './app.component';
Expand All @@ -9,7 +10,8 @@ import { MyApp } from './app.component';
ChatsPage
],
imports: [
IonicModule.forRoot(MyApp)
IonicModule.forRoot(MyApp),
MomentModule
],
bootstrap: [IonicApp],
entryComponents: [
Expand Down

0 comments on commit 1d98191

Please sign in to comment.