-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circular dependency found when trying to integrate with ng1.3 #98
Comments
👍 |
Was working with earlier versions of Angular.js 1.3 |
Hello, Here I have the following error: Error: [$injector:cdep] Circular dependency found: $templateRequest <- $animate <- cfpLoadingBar <- $http <- $templateRequest <- $compile Thanks |
Yup, same here. Workaround anybody ? :) |
https://www.dropbox.com/s/x04l66hcdt5egll/Screenshot%202014-09-01%2013.01.20.png?dl=0 The error appears because the injection of the interceptor is done in the config phase. Trying to work around that and fix it. |
This due to ?: |
Also waiting for this to be solved. Any workaround? |
You can target the previous version of angular-animate in the meantime: {
"dependencies": {
"angular": "v1.3.0-rc.0",
"angular-animate": "1.3.0-build.3121+sha.a4520a7"
}
} |
Thank you very much. It works. |
+1 |
Caused by angular-loading-bar. Should update version when issue is fixed: chieffancypants/angular-loading-bar#98
Any permanent fix yet? |
👍 |
#99 works around the issue by injecting $animate where it is needed. I'm not sure how performant it is to do this, but it seems to work. |
Thanks for the reports everyone! I'm unlikely to find any issues with 1.3, as I'm not currently using it in any projects, so I appreciate the heads up. @gdi2290 sent a PR which should solve this, and I'll update bower soon. |
Uncaught Error: [$injector:cdep] Circular dependency found: $http <- $templateRequest <- $animate <- cfpLoadingBar <- $http <- Local
https://docs.angularjs.org/error/$injector/cdep?p0=$http%20%3C-%20$templateRequest%20%3C-%20$animate%20%3C-%20cfpLoadingBar%20%3C-%20$http%20%3C-%20Local
The text was updated successfully, but these errors were encountered: