Angularjs ng-disabled example
Angularjs ng-disabled example : AngularJs ng-disabled directive adds the disabled attribute in html.
Angularjs ng-disabled Example
Example
<!DOCTYPE html> <html lang="en"> <head> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.min.js"></script> </head> <body> <div ng-app="" > <button ng-disabled="enableDiable">Button</button> <input type="checkbox" ng-model="enableDisable"> Enable/Disable </div> </body> </html> |

Angularjs ng-disabled example
Advertisements