1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 1× 1× 1× 736× | /** * @ngdoc object * @name app.components.config:authHttpInterceptorConfig * @description * Registers an interceptor to allow the authHttpInterceptor service to receive http errors. */ (function () { 'use strict'; angular .module('app.components') .config(config); /** @ngInject */ function config($httpProvider) { $httpProvider.interceptors.push('authHttpInterceptor'); } })(); |