Route Guards in Angular
Guards are nothing but some code/logic executed before the route is even loaded or when the user tries to exit from the route. They're generally known as routing guards.
Open on Github - https://github.com/niharika293/Angular-rout-guard-poc
Objective...
niharikagurnani.hashnode.dev5 min read