Execute
<!DOCTYPE html> <html> <head> <title>Wikitechy AngularJS Tutorial</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script> </head> <body ng-app=""> <h3>ng-readonly directive example in AngularJS Tutorial</h3> check me the input field is readonly: <input type="checkbox" ng-model="all"><br><br> <input type="text" ng-readonly="all"> </body> </html>
www.wikitechy.com © Copyright 2016. All Rights Reserved.