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 authored and DAB0mB committed Feb 26, 2017
1 parent c10a2ce commit 3ee743c
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, IonicErrorHandler } 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 3ee743c

Please sign in to comment.