Workflow Differences Between $scope.$watch() and Attributes.$observe() In AngularJS This is an off-site link.  Please review our Terms of Service for additional information.

(Ben Nadel) Yesterday, I spent about an hour trying to figure out why my attributes.$observe() callback wasn't being invoked in my transcluded directive in AngularJS. After much digging, it turned out to be a difference in the way the two types of callbacks are registered.

Read this article...

comments powered by Disqus