Like, the ngBind attribute tells Angular to replace text content the specified HTML element with the value of the expression and update the text content when the value of this expression changes, you cannot bind to the input box:
<input type ="text" ng-bind="name" />
You can use ng-value instead
<input type="text" ng-value="name" />
or you can fill in the input field using the model in the value attribute.
<input type="text" value="{{name}}" />
See codepen
Nicholas murray
source share