Questions tagged [angularjs-infdig]

Infinite $digest Loop error in AngularJS application ($rootScope:infdig). This error occurs when the application's model becomes unstable and each $digest cycle triggers a state change and subsequent $digest cycle.

More info: Error: $rootScope:infdig

13 questions
8
votes
1 answer

AngularJS InfDig error (infinite loop) with ng-repeat function that returns array of objects

Here's my code:

something

$scope.func = function(){ return [{"property" : "value1"},{"property": "value2"}]; } In Angular.js v. 1.1.1 there's no mistake. In Angular.JS v 1.2.1 I get an infDig mistake. Fiddle…
3
votes
2 answers

AngularJS Filter throws infdig error when it creates new array

i am about to bang my head to walls. i thought i had an understanding of how angular works (filters too). but i just cant find the problem about my filter. it causes infdig. and i even dont change source array in filter. (function ()…
bahadir
  • 709
  • 1
  • 11
  • 28
1
vote
1 answer

AngularJS select ng-options infinite digest error

I have a select tag with a function call in ng-options: