Glossary: Angular Beyond the Basics
Guard
Also written: guards, route guard, Route guard
A function the router runs before a route opens or closes. It returns `true`, `false` or a `UrlTree` to allow, block or redirect.
Glossary: Angular Beyond the Basics
Also written: guards, route guard, Route guard
A function the router runs before a route opens or closes. It returns `true`, `false` or a `UrlTree` to allow, block or redirect.