Hi Sander, 

Thanks for the quick response. 

I believe you are talking about the first function ( dataOnes()) being used 
in the ng-repeat section of the <td>. There are few options I have tried 
the td repeat is OK , but the time when I am assigning anything to the 
datum.MyModel  it throws the above error. 

I have to calculate these datum.MyModel  value and the GetData() value by 
scope functions as it need to be evaluated and be responded in every change 
in the dependent scope variables. 

I have tried to calculate these values before hand using ng-init but by the 
time the ng-init goes for evaluation the dependent values are not filled. 


One more thing I would like to draw your attention is that the 
ng-model="dtataOne.MyModel" is at the <td> and I am evaluating in the ancor 
tag . Can it be the problem.  
 
Is there any way I can implement this logic without using functions so as 
to avoid the digest cycles. 

Thanks again..




On Thursday, November 13, 2014 4:10:19 PM UTC+5:30, Sander Elias wrote:
>
> Hi Amit,
>
> 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 advise, don’t use functions in an ngRepeat expression.
>
> Regards
> Sander
> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to