Is there a way to set the $httpProvider
headers outside of angular.module('myApp', []).config()
?
I'm getting an Auth-Token from the server after I login the user, and I need to add it as a HTTP Header to all following requests.
Is there a way to set the I'm getting an Auth-Token from the server after I login the user, and I need to add it as a HTTP Header to all following requests. |
|||
|
It seems |
|||