title: Angular safe Authentication with route
body: <p>I'm wondering if there is a way to implement authentication and login with angular's route provider.
  My thought is, that the client can just edit the js-code before the page is loaded and therefore he can disable all security-mechanisms (e.g. a resolve object in the route config).</p>
  
  <p>What would be the best practise fo authentication with angular if I want to use the route provider, if there's any?</p>
  
  <p>Thanks in advance</p>