Is it un-angular-ish to do something like this:
<button ng-clicked="buttonClicked=true; callFunction()"
ng-disabled="buttonClicked">
To something only once
</button>Am 12.01.2015 um 16:51 schrieb 'Michael Bielski' via AngularJS: > There are any number of directives to be found that disable the button > as soon as it is clicked. > -- > You received this message because you are subscribed to the Google > Groups "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
