I am trying to create a reconnect to another site on my server.
Currently using $location.url('http://127.0.0.1/second'); to forward to the second site, but I need to set the Authorization Header to a custom variable.
I searched through the $http and $location documentation on docs.angularjs.org, but I wasn't able to find anything helpful.