Reputation: 705
During debugging of my ng-app I've find out that most time of $digest takes regularInterceptedExpression. The question is, what is causes of triggering it?
Upvotes: 16
Views: 3996
Reputation: 178
Found this on AngularJs Docs, hope this can help.
Following scenarios could cause this error.
When you declare a local scope property using = in a directive. This will create a interceptedExpression.
method calls in the view
Angular Tip: We should avoid method calls in the view whenever possible, since they run on every $digest loop.
Thanks,
Upvotes: 0