Helping to implement single page routing.

@angular/routerprovides some utilities for routing and auth. However, it is not a fully secure auth implementation, as it is merely client-side, but providing useful user flows.

<router-outlet></router-outlet>

Interfaces

CanActivate

Used for a route to provide a check beforehand, if the user can activate the route. Combined with an AuthGuard for example.