References and routes

We already know that we have to add every component to the app.module.shared.ts file's import list and declarations array, so we won't explain how to do it again; let's just do it as we already did a number of other times.

While we're there, let's add the missing routes as well to the RouterModule, just after the quiz ones:

[...]            { path: 'quiz/create', component: QuizEditComponent },{ path: 'quiz/edit/:id', component: QuizEditComponent },{ path: 'quiz/:id', component: QuizComponent },{ path: 'question/create/:id', component: QuestionEditComponent },{ path: 'question/edit/:id', component: QuestionEditComponent },{ path: 'about', component: AboutComponent },[...]

We can easily note a big difference between the quiz/create ...

Get ASP.NET Core 2 and Angular 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.