From e00b1132df79b59a6879a14a0d44a3975ec2a464 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 #ngEurope fixes(#9366) --- 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',