I have 4 templates, each with mouse actions that trigger functions:
ng-mouseover="enableDragging()" ng-mouseleave="disableDragging()"
Within these functions, I update scope variables and would like to add a class using jQuery without passing any parameters or updating additional scope variables.
Essentially, I am searching for a simple way to apply a class or id to all 4 templates without specifying the current template.
If there's a better approach, here's the scenario: I aim to modify scope variables AND adjust the CSS of a div upon entering that div, then revert back once leaving.
Thank you