Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!


Hello, I’ve been building an app using the ionic framework and recently started seeing the following error:

Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!

This error just started showing up in the iOS 9 emulator (after upgrading Xcode post release of iOS 9 which replaced the emulator with iOS 9 presumably) when testing / debugging. I have NOT upgraded my iPhone to run iOS 9 yet and the error does NOT occur on the phone.

I’ve seen mention of this being potentially related to the replacement of webkit. Is anyone else seeing this and if so, is there a workaround or fix planned? The code that exhibits this is very simple. It merely performs a “get” from a server to retrieve a list of events. Clicking on an event takes you to the event details view in the app. Clicking the “Back” button to get back to the list shows the error every time.

I replaced the “http get” call with a hardcoded object that replicates the data retrieved from the “get” and the error still exists. The variable should be the same and it does not change. Any help greatly appreciated. Thank you.


Try adding this code to your project


Thank you very much. This solved my regression with iOS 9.


Thank you very much. The patch works fine!