I have created a RhoMobile app using AngularJS for MVC (instead of using Ruby). When I run it using RhoSimulator I get the following error:
"10 $digest() iterations reached. Aborting!"
The app runs fine on the Android emulator. This is with RhoStudio 4.0.0 and AngularJS 1.0.8.
Anyone know how to fix this because I prefer testing/debugging in RhoSimulator. Or is it a bug in RhoSimulator?
5 Replies
This issue still happens in Rhomobile 5. Is there any ETA for the fix?
Thanks.
Hi Ruben,
You will get good attention if you create a new discussion thread for this question.
Visnupriya R
Kutir Mobility
I finally solved this issue with help from Motorola support. It now works in RhoStudio 4.1 but you have to change the call to $sce.getTrustedResourceUrl(templateUrl) in all AngularJS JavaScript files with $sce.getTrusted($sce.RESOURCE_URL, templateUrl). Apparently this will be solved in RhoStudio 4.2.
Does the Angular Sample project work for you?
Have you tried applying the patch mentioned in the developer guide on docs.rhomobile.com: http://docs.rhomobile.com/guide/rhom_angular#word-of-warning