Navigation Menu

Skip to content

Commit

Permalink
Step 7.6: Added router imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and Dotan Simha committed Nov 22, 2016
1 parent 27d7494 commit 6248f6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/imports/app.module.ts
Expand Up @@ -2,11 +2,13 @@ import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {MainComponent} from "./main.component";
import {routing} from "./app.routes";
import {ListShowComponent} from "./components/list-show.component";

@NgModule({
// Components, Pipes, Directive
declarations: [
MainComponent
MainComponent,
ListShowComponent
],
// Entry Components
entryComponents: [
Expand Down
1 change: 1 addition & 0 deletions client/imports/app.routes.ts
@@ -1,5 +1,6 @@
import {ModuleWithProviders} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {ListShowComponent} from "./components/list-show.component";

const appRoutes: Routes = [
{path: 'lists/:_id', component: ListShowComponent}
Expand Down

0 comments on commit 6248f6a

Please sign in to comment.