Reputation: 24572
I have button code like this:
<button class="small float-right"
data-ng-click="tag()"
data-ng-disabled="qs.tag == true">
Tag
</button>
Is there a way I could change this so it displays Tagged as the label the button is clicked and qs.tag = true and the displays Tag when I click the button again and qs.tag is false.
Upvotes: 0
Views: 62