Is it possible to set a header only for specified domains?
The "normal" way of doing this adds that header for all calls, even calls that retrieve HTML templates for example.
$http.defaults.headers.common['Authorization']='...';
So far, other than using an $http interceptor, I can't see any other way, but if you can think of one, I'm curious.
Thanks.