Skip to content

Commit

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

0 comments on commit 7b1fa71

Please sign in to comment.