I need a directive for disable a button on click.I want to be an attribute, and the click event to detect in the directive not to pass it on a function. After i detect the event i want to disable using "data-ng-disabled". I am a little stuck, if you can give me some indications how can I solve it.I need a directive for disable a button on clic