From d488a894668839f35cc0635abdc8ff24cdd93963 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Tue, 21 Oct 2014 16:29:46 +0200 Subject: [PATCH] docs($http): document $httpProvider.interceptors in $httpProvider documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ☆.。.:・゜☆ HASHBANG #NGEUROPE ☆.。.:・゜☆ Fixes #9366 Closes #9728 --- src/ng/http.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/ng/http.js b/src/ng/http.js index f337bcdefae2..67284f13728b 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -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',