AngularJS: angular.element(), scope.$watch() example