title: Redirect on all routes to login if not authenticated
body: <p>How can I redirect to the login page if someone tries to hit any other route when they are not authenticated? Is there a "best" way to do this in AngularJS? </p>
  
  <p>Seems like a common problem but I can't seem to find a way to do this. Thank you in advance for your help.</p>