The ng-model directive binds the value of HTML controls (<input>, <select> or <textarea>) to application data. In following example, we've defined a model named "name".
<div ng-app="">
<label>Name :</label>
<input type="text" ng-model="name" placeholder="Your Name">
</div>