Jasmine target to test without instrumented code for debugging
Use latest stable version of angular
Support CSRF tokens as part of user authentication

Read from the cookies to get the token.

Unfortunately the $cookieStore service provided by the ngCookies module does not support the kind of cookie provided here so using a private function within the login service.