July 2018
Intermediate to advanced
420 pages
8h 46m
English
Now, we need to add our service to the central module of our application. Remember that we are using a directory called shared; the appropriate place to put our service is directly in the app.module.ts file:
import { HttpErrorHandler } from './shared/_services/http-handle-error.service';
providers: [
Title,
HttpErrorHandler,
],
At the end of this step, we have the following directory structure in our app:
Read now
Unlock full access