Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 1fa2d56

Browse files
Hotellcaitp
authored andcommitted
docs($http): document $httpProvider.interceptors in $httpProvider documentation
☆.。.:・゜☆ HASHBANG #NGEUROPE ☆.。.:・゜☆ Fixes #9366 Closes #9728
1 parent efedc64 commit 1fa2d56

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/ng/http.js

+11-2
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,18 @@ function $HttpProvider() {
144144
};
145145

146146
/**
147-
* Are ordered by request, i.e. they are applied in the same order as the
147+
* @ngdoc property
148+
* @name $httpProvider#interceptors
149+
* @description
150+
*
151+
* Array containing service factories for all synchronous or asynchronous {@link ng.$http $http}
152+
* pre-processing of request or postprocessing of responses.
153+
*
154+
* These service factories are ordered by request, i.e. they are applied in the same order as the
148155
* array, on request, but reverse order, on response.
149-
*/
156+
*
157+
* {@link ng.$http#interceptors Interceptors detailed info}
158+
**/
150159
var interceptorFactories = this.interceptors = [];
151160

152161
/**

0 commit comments

Comments
 (0)