From 7b1fa7153df3874501ceadcf38629caf0b0538a1 Mon Sep 17 00:00:00 2001 From: dotansimha Date: Tue, 24 Jan 2017 10:13:15 +0200 Subject: [PATCH] Step 2.15: Import MomentModule into our app module --- src/app/app.module.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 9764139ab..e80dfe6e8 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,6 +3,7 @@ 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 { MomentModule } from 'angular2-moment'; import { ChatsPage } from '../pages/chats/chats'; import { MyApp } from './app.component'; @@ -14,7 +15,8 @@ import { MyApp } from './app.component'; ], imports: [ BrowserModule, - IonicModule.forRoot(MyApp) + IonicModule.forRoot(MyApp), + MomentModule ], bootstrap: [IonicApp], entryComponents: [