Angular
Angular CLI Basics - ng generate guard
  •  

ng generate guard Exercise

PRO
Outline

In the exercise for this section, you should create two guards:

  • An auth guard contained in its own folder, selecting the interface or interfaces from the CLI prompt
  • An admin guard that implements the CanActivate interface using the --implements flag
 

I finished! On to the next chapter