title: Angular 2 security: redirect to clicked route after login?
body: <p>I'm building my first app using the release version of Angular 2 (I'm on 2.1.0 currently).  I have set up a <a href="https://angular.io/docs/ts/latest/guide/router.html#!#guards" rel="nofollow noreferrer">Route Guard</a>, and I am using it in my routing.ts to secure one of the routes with authentication.  When clicked, if not logged in, it redirects the user to the login route.  There they can login, and if authenticated, it sets a localStorage token.  Here's where I have a problem.  I want to then redirect the user to the route they clicked on initially before they were redirected to the login, but I can't figure out how to get the clicked route once they hit the Guard canActivate method, or on the login.  This seems like a fairly common usage scenario, but I can't find any examples of doing this.</p>