by vladgur · 13y ago · 0 comments
scope.$watch(function() {
scope.bulb = controller.getState();
});
as opposed to watching a data-bound variable and what how that(watching a func) affects performanceNote: from this example: http://jsfiddle.net/codef0rmer/2ZrX3/