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).
What would be the best practise fo authentication with angular if I want to use the route provider, if there's any?
Thanks in advance