Using ng-disable we can enable or disable any html element. When ng-disable set to true the html is element is disabled else enabled.

ng-disable example:

<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script>
</head>
<body>
<b>check the checkbox to see ng-disable example.</b>
<div ng-app="">
Check or Uncheck me to see changes:<input type="checkbox" ng-model="isChecked"></input>
<br>
<input type="text" ng-disabled="isChecked"></input>
</div>
</body>
</html>
Sample Explained: In the above given sample when user check the checkBox, true is assigned to isChecked model variable else false is assigned.