$scope.over_img = function(myEvent){ $scope.x = myEvent.clientX; $scope.y = myEvent.clientY; } ON html put this <div ng-mousemove="over_img($event)" > <p>Coordinates: {{x + ', ' + y}} <p> </div>
$scope.over_img = function(myEvent){ $scope.x = myEvent.clientX; $scope.y = myEvent.clientY; } ON html put this <div ng-mousemove="over_img($event)" > <p>Coordinates: {{x + ', ' + y}} <p> </div>