JSFiddle - React, Tailwind, and code Playground
HTML
<body ng-app="testApp" ng-controller="testContr" ng-mousemove="test()">
{{counter}}
</body>
CSS
html, body {
width: 100%;
height: 100%;
}
JavaScript
var testApp = angular.module('testApp', []);
testApp.controller('testContr', function($scope) {
$scope.counter = 0;
$scope.test = function () {
$scope.counter++;
};
});