Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Step 2.19: Added MomentModule to the NgModule
  • Loading branch information
dotansimha authored and DAB0mB committed Feb 26, 2017
1 parent 45be6ef commit 065d207
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/imports/app/app.module.ts
Expand Up @@ -3,6 +3,7 @@ import { AppComponent } from './app.component';
import { IonicApp, IonicModule } from "ionic-angular";
import {TabsContainerComponent} from "../pages/tabs-container/tabs-container.component";
import {ChatsComponent} from "../pages/chats/chats.component";
import {MomentModule} from "angular2-moment";

@NgModule({
// Components, Pipes, Directive
Expand All @@ -23,7 +24,8 @@ import {ChatsComponent} from "../pages/chats/chats.component";
],
// Modules
imports: [
IonicModule.forRoot(AppComponent)
IonicModule.forRoot(AppComponent),
MomentModule
],
// Main Component
bootstrap: [ IonicApp ]
Expand Down

0 comments on commit 065d207

Please sign in to comment.