Tuesday, April 21, 2015

Angularjs ng-model directive

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> 

No comments:

Post a Comment