Skip to content

Commit

Permalink
docs($http): document $httpProvider.interceptors in $httpProvider doc…
Browse files Browse the repository at this point in the history
…umentation

☆.。.:・゜☆ HASHBANG #NGEUROPE ☆.。.:・゜☆

Fixes angular#9366
Closes angular#9728
  • Loading branch information
Hotell authored and caitp committed Oct 22, 2014
1 parent 3635721 commit d488a89
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/ng/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,18 @@ function $HttpProvider() {
};

/**
* Are ordered by request, i.e. they are applied in the same order as the
* @ngdoc property
* @name $httpProvider#interceptors
* @description
*
* Array containing service factories for all synchronous or asynchronous {@link ng.$http $http}
* pre-processing of request or postprocessing of responses.
*
* These service factories are ordered by request, i.e. they are applied in the same order as the
* array, on request, but reverse order, on response.
*/
*
* {@link ng.$http#interceptors Interceptors detailed info}
**/
var interceptorFactories = this.interceptors = [];

this.$get = ['$httpBackend', '$browser', '$cacheFactory', '$rootScope', '$q', '$injector',
Expand Down

0 comments on commit d488a89

Please sign in to comment.