Angular directive to intercept the ng-click handler