In progress (saving, sending, refreshing) button
<button class="btn btn-info pull-right" style="margin-top:8px;" ng-click="sendSTBCommand()" ng-disabled="processing" ng-class="{'btn-trans':processing}">
<span ng-show="!processing">
<i class="icon-action-redo"></i> Send Command
</span>
<span ng-show="processing">
<i class="fa fa-refresh fa-spin"></i> Sending Command
</span>
</button>