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?
What is regularInterceptedExpression in angular?
Asked Answered
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,
Why did you quoted that link? Did you read it? It doesn't explain anything about
regularInterceptedExpression
, it just happen to mention when there is an Infinite $digest Loop
. –
Macaluso © 2022 - 2024 — McMap. All rights reserved.
interceptedExpression
and does not clarify what is aregularInterceptedExpression
and how it differs from the former. – Macaluso