Angular 2 authentication, restricting access to protected routes, showing alert message
How to implement protected routes based on user’s authentication status in Angular 2? Angular 2 authentication is a good intro to setting up a protected route but is missing two common things for web applications these days: redirecting a user to route which will help him gain access to protected route, most likely to a…