29.06.2017 - In the above example, in our canActivate function, we check if our token is expired. If its expired, we want to navigate the user to the login page..