Closed
Description
the example should read: (httpConfig should be $httpConfig)
angular.module('myApp', function (DSHttpAdapterProvider) {
angular.extend(DSHttpAdapterProvider.defaults.$httpConfig, {
interceptor: [...],
headers: {
common: {
Authorization: 'Basic YmVlcDpib29w'
}
},
timeout: 20000
});
});
Hope that helps