Dependency Injectable Middleware: circular dependency
franciscotln opened this issue · 1 comments
franciscotln commented
Hey guys,
I always get circular dependency (CD) when I try to apply a middleware that's registered as a factory on angular.module. If this middleware has the $http
dependency it breaks because of CD. If I delete $http
even having other dependencies, it works.
Any ideas on how to fix that?
Thanks
franciscotln commented
OK: I've found the problem. Some of my interceptors depend on $ngRedux and that's why...