Permalink
Browse files

Step 6.7: Register RouterModule

  • Loading branch information...
1 parent ef0cc1b commit fd4f19f5b1f96ea6561a87861ca0a394d9d8a8c1 @kamilkisiela kamilkisiela committed with DAB0mB Sep 21, 2016
Showing with 4 additions and 1 deletion.
  1. +4 −1 client/imports/app/app.module.ts
@@ -1,15 +1,18 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
+import { RouterModule } from '@angular/router';
import { AppComponent } from './app.component';
+import { routes } from './app.routes';
import { PARTIES_DECLARATIONS } from './parties';
@NgModule({
imports: [
BrowserModule,
FormsModule,
- ReactiveFormsModule
+ ReactiveFormsModule,
+ RouterModule.forRoot(routes)
],
declarations: [
AppComponent,

0 comments on commit fd4f19f

Please sign in to comment.