This is my code snippet
My Data
-
On every digest cycle the function Getdata(data3)
will get fired. In that function you are mutating datum.MyModel
which kick off an new digest cycle. If this repeats more then 10 times, you get an error.
The short advice: don’t use functions in an ngRepeat
expression.
讨论(0)
- 热议问题