September 2017
Intermediate to advanced
450 pages
11h 24m
English
Before we can get started building our login page, we will need to generate a new login component to handle our login user experience. We will create that using Angular CLI's generate command:
ng generate component login
We will also need to remove any previous usage of the CurrentUserService service from our application. The main place we had used it previously was the /src/app/app.module.ts module. Ensure that the main module class export does not do anything with the CurrentUserService provider by removing its reference from the module.
We will also need to make sure that our LoginComponent component and Angular2FontawesomeModule are loaded in our application module properly.
Finally, we will need to make sure that our login ...
Read now
Unlock full access