-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Infinite digest when loading url without anything after the # #1616
Comments
Looks like this issue angular/angular.js#10228. Try to update angular to 1.3.6, this should help. |
1.3.6 did not fix the problem. |
Neither did 1.3.7-build.3695 snapshot. Faced this issue during migration from 1.2.22 to 1.3.6. Any advice on how to fix this? |
I'm getting this on any custom defined rule right now. Even a simple rule like this causes the $digest issues: if($location.url() === '/') {
return '/dashboard/';
} I don't know when this started. It's causing a real issue for me to debug a more complicated rule. (Edit: Note that if I comment out the return statement on the rule, the error goes away.) |
Same thing is happening to me.
|
OK, so it turns out for me this issue was caused by This is the same issue as #600, and if you are experiencing the |
Angular version: 1.3.5
ui-router: 0.2.13
When I hit my URL with: index.html# or just index.html
the page and URL will flicker a few times before finally going to my location defined in $urlRouterProvider.otherwise('/otherwisetest');
I will get this about 6 times:
Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
The text was updated successfully, but these errors were encountered: