The ng-model directive defines the model/variable to be used in AngularJS
Application. In the following example, we define a model named name.
<p> Enter Name : <input type="text" ng-model="name"/> </p>
<p> Enter Name : <input type="text" ng-model="name"/> </p>
No comments:
Post a Comment