I am wondering if Angular.js $http interceptors are shared thoughout the whole application.
Let's assume I have a myDependentApp
module, shared between many apps. That module has some interceptor configured to control the $http requests/responses. I include that module by declaring it in application bootstrap:
angular.module('myApp', ['myDependentApp']);
And I have application template:
<html ng-app="myApp">
Are myDependentApp
's interceptors going to be active in myApp
?
Thanks for help.
Aucun commentaire:
Enregistrer un commentaire