is it possible to write an interceptor for ng-click? I have a button or a link that leads to a deletion of an object in the backend. I\'d like to have a confirmation dialog
You can inject $window into your controller so that you can use $window.confirm from your scope, then:
$window
$window.confirm
Delete