chore: use ng-event directive instead of bind event in directive