Skip to content

Documentation errors #121

Closed
Closed
@pdemilly

Description

@pdemilly

in http://angular-data.pseudobry.com/documentation/api/angular-data/DSHttpAdapterProvider.properties:defaults.$httpConfig

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions