I have a SAVE button that is disabled when a form is pristine. I want it to say SAVED when pristine and then change to SAVE when the form is dirty. Working fine except the text change for the button. Here is the code:
<input type="button" value="SAVED" class="button success radius expand" ng-click="save(form)" ng-disabled="!signupform.$dirty" ng-class="{disabled:!signupform.$dirty}">