Skip to content

Commit

Permalink
Step 2.18: Import MomentModule into the module definition
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Nov 27, 2016
1 parent 6ed9b96 commit 7b2c5d4
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 { IonicApp, IonicModule } from 'ionic-angular';
import { MyApp } from './app.component';
import { TabsPage } from '../pages/tabs/tabs';
import { ChatsPage } from "../pages/chats/chats";
import { MomentModule } from "angular2-moment";

@NgModule({
declarations: [
Expand All @@ -11,7 +12,8 @@ import { ChatsPage } from "../pages/chats/chats";
TabsPage
],
imports: [
IonicModule.forRoot(MyApp)
IonicModule.forRoot(MyApp),
MomentModule
],
bootstrap: [IonicApp],
entryComponents: [
Expand Down

0 comments on commit 7b2c5d4

Please sign in to comment.