Permalink
Browse files

Step 9.11: Add ROUTES_PROVIDERS

  • Loading branch information...
1 parent 3994e1a commit 44c8d4038ca71ac5046cd1bf7602d4a3b277bb96 @kamilkisiela kamilkisiela committed with DAB0mB Sep 21, 2016
Showing with 4 additions and 1 deletion.
  1. +4 −1 client/imports/app/app.module.ts
@@ -5,7 +5,7 @@ import { RouterModule } from '@angular/router';
import { AccountsModule } from 'angular2-meteor-accounts-ui';
import { AppComponent } from './app.component';
-import { routes } from './app.routes';
+import { routes, ROUTES_PROVIDERS } from './app.routes';
import { PARTIES_DECLARATIONS } from './parties';
@NgModule({
@@ -20,6 +20,9 @@ import { PARTIES_DECLARATIONS } from './parties';
AppComponent,
...PARTIES_DECLARATIONS
],
+ providers: [
+ ...ROUTES_PROVIDERS
+ ],
bootstrap: [
AppComponent
]

0 comments on commit 44c8d40

Please sign in to comment.