Change the mouse pointer on ngclick
Can be done via css, just add:
.yourClass { cursor: pointer; }
To your stylesheet
All you have to do is use the cursor property
<div data-ng-click="myFun()" class="pointer"></div>
.pointer {
cursor: pointer;
}
Is there a way to change it through css?
Yes, see cursor
.
If you just wanted to target elements with the ng-click
attribute, for example:
[ng-click],
[data-ng-click],
[x-ng-click] {
cursor: pointer;
}