References and routes

As for the references and routes, we already know what to do. Let's just emphasize the routing aspect, as this is the only thing that might not throw an immediate exception if we do something wrong, thus taking more time to fix in case of an error:

[...]            { path: 'question/edit/:id', component: QuestionEditComponent },{ path: 'answer/create/:id', component: AnswerEditComponent },{ path: 'answer/edit/:id', component: AnswerEditComponent },{ path: 'about', component: AboutComponent },[...]

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.