Ng-Mousemove-1

 
Count variable increase each time by 1 when we move mouse on the button.
 
 
 
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script> </head> <body ng-app> <div> <input type="button" value="Mouse Move" ng-mousemove="count=count+1" /> {{count}} </div> </body> </html>
Output