Wednesday, March 13, 2013

$digest vs $apply

Use scope.$digest() on the directive's scope, which will only digest that specific scope, instead of $apply (which is global)

No comments:

Post a Comment