The AngularJS ng-readonly directive is used to make DOM elements readonly.It traverses all DOM elemets with the readonly property and makes the element readonly.
ng-readonly
Syntax
First Name:
Last Name: