<i class="cursor-pointer" (click)="sort()"></i>
Our codebase has a lot of redundant classes like this. I was looking for a way to apply the cursor pointer property anytime there is a (click) event handler.
Before angular 2, you were able to apply css to angular attributes, but that is no longer possible. Change the mouse pointer on ngclick
[ng-click]{
cursor: pointer;
}