title: Adding http headers to window.location.href in Angular app
body: <p>I have a angular app that I needed to redirect outside to a non angular html page, so I thought I could just use the <code>$window.location.href</code>to redirect the angular app to my external site. This actually works fine, however, I have a nodejs/express backend that checks for auth token before serving up any content(even static content). </p>
  
  <p>This requires a auth token to be sent in the header of the http request.  Now the question: </p>
  
  <p>Can/How do you add an auth token to the request that is made by changing the <code>$window.location.href</code> before it is sent off?</p>