In this example we have two buttons start and stop. Initial Start button is enable and stop button is disable, when you click on the start button the stop button is gets enable and start button will disabled.
<!DOCTYPE html> <html xmlns=""> <head> <title></title> <script src=""></script> </head> <body ng-app> <div> <input ng-disabled="isDisabled" type="button" ng-click="isDisabled=!isDisabled" value="Start" /> <input ng-disabled="!isDisabled" type="button" ng-click="isDisabled=!isDisabled" value="Stop" /> </div> </body> </html>