title: Handling JWT in angularjs Authentication
body: <p>We got an Angular application and we got another .Net application. The login is managed by .Net application and when the user is logged, it redirects to the Angular app.with authentication token (JWT) to the header. lets say to url example.com/</p>
  
  <p>I need to capture the JWT from the Header and pass it on to a API to validate the JWT and authenticate the user if JWT is valid.</p>
  
  <p>How do I capture the JWT token from the header when the page is hit? </p>