howto use the $scope.$watch