28

I'm currently using the AngularJS 1.3.0 stable build and the Batarang Chrome extension. In the watch tree I notice that under many of my scopes there's something called "interceptedExpression". What is that or what scenarios create an interceptedExpression?

mikelt21
  • 2,728
  • 4
  • 23
  • 33

1 Answers1

32
  • What is interceptedExpression?

    interceptedExpression is a function returned by $parse.

  • Why its called interceptedExpression in Batarang?

    Because the function declared inside angular source code is a named function called interceptedExpression.

  • What scenarios create an interceptedExpression?

    One of the scenarios I know is when you declare a local scope property using = in a directive. This will create a interceptedExpression record in batarang. See angular src here.

Community
  • 1
  • 1
merlin
  • 784
  • 1
  • 15
  • 22