Updating the AppModule

Open the /ClientApp/app/app.module.shared.ts file and add the new references accordingly (new lines highlighted):

import { NgModule } from '@angular/core';import { CommonModule } from '@angular/common';import { FormsModule } from '@angular/forms';import { HttpClientModule } from '@angular/common/http';import { RouterModule } from '@angular/router';import { AppComponent } from './components/app/app.component';import { NavMenuComponent } from './components/navmenu/navmenu.component';import { HomeComponent } from './components/home/home.component';import { QuizListComponent } from './components/quiz/quiz-list.component';import { QuizComponent } from './components/quiz/quiz.component';import { AboutComponent } from './components/about/about.component'; ...

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.