write a code in angularjs to count the number of mouse hover code example
Example: angular element onhover
<div
(mouseenter)="myMethod()"
(mousedown)="myMethod()"
(mouseup)="myMethod()"
></div>
<div
(mouseenter)="myMethod()"
(mousedown)="myMethod()"
(mouseup)="myMethod()"
></div>