Skip to content

Commit 3352310

Browse files
dotansimhadarkbasic
authored andcommitted
Step 2.15: Import MomentModule into our app module
1 parent baafa2f commit 3352310

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/app.module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { ErrorHandler, NgModule } from '@angular/core';
33
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
44
import { SplashScreen } from '@ionic-native/splash-screen';
55
import { StatusBar } from '@ionic-native/status-bar';
6+
import { MomentModule } from 'angular2-moment';
67
import { ChatsPage } from '../pages/chats/chats';
78

89
import { MyApp } from './app.component';
@@ -14,7 +15,8 @@ import { MyApp } from './app.component';
1415
],
1516
imports: [
1617
BrowserModule,
17-
IonicModule.forRoot(MyApp)
18+
IonicModule.forRoot(MyApp),
19+
MomentModule
1820
],
1921
bootstrap: [IonicApp],
2022
entryComponents: [

0 commit comments

Comments
 (0)