Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
36
rated 0 times [  40] [ 4]  / answers: 1 / hits: 10678  / 10 Years ago, mon, november 3, 2014, 12:00:00

I have a nested array which I am ng-repeating on the page. By looking at the page, everything I want to show on the screen is rendered, however in the console I get the error:



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


I assumed that this error occurs due to the amount of nested array's I have because once I make the size of my nested array smaller, the error doesn't appear.



Here is a fiddle that models my situation


More From » angularjs

 Answers
13

So I finally solved the issue. What I ended up doing was adding a library called Recursion Helper to my project, and injected it as a dependency.



Here is a link to the original post.
Thanks!


[#41503] Sunday, November 2, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ammonjesseg

Total Points: 170
Total Questions: 110
Total Answers: 98

Location: Benin
Member since Fri, Mar 24, 2023
1 Year ago
;