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 Oct 16, 2017
1 parent baafa2f commit 3352310
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
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 3352310

Please sign in to comment.