<!doctype html> <html ng-app> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script> </head> <body> <h2>Angular Js sample application</h2> <div ng-app> <table border="0"> <tr> <td> <input type="checkbox" ng-model="enableDisableButton">Disable Button </td> <td><button ng-disabled="enableDisableButton">click me </button> </td> </tr> </table> </div> </body> </html>
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more