AngelarJS app not working on RhoSimulator

// Expert user has replied.
R Rutger van Eerd 3 years ago
1 5 0

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?

Please register or login to post a reply

5 Replies

R Ruben Ruben

This issue still happens in Rhomobile 5. Is there any ETA for the fix?

Thanks.

K Kutir Mobility

Hi Ruben,
You will get good attention if you create a new discussion thread for this question.
Visnupriya R
Kutir Mobility

R Rutger van Eerd

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.

R Robert Galvin

Does the Angular Sample project work for you?

R Robert Galvin

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

CONTACT
Can’t find what you’re looking for?