I have a button, normal, with an ng-click calling a function:
<button class="button button-full button-balanced" ng-click="fechaPedido(pedido.observacao )">
FINALIZAR PEDIDO
</button>
I would like it to be disabled once the button has been clicked until the function completes. Because users are clicking the button and repeating their actions.
Or is there another way?
Thank you.