Ng-mousemove directive call the mouseDown($event) function which calculates X and Y cordinate that is assign to the ng-style of div elements which will show the the circle when we move mouse on the square.
Ng-mousemove
ng-style