AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng model Directive

AngularJS ng-model Directive

 

 

The ng-model directive binds an HTML form element to a variable in the scope. If the variable does not exist in the scope, it will be created.

 

Syntax:-

 

< element ng-model="name" >< /element >

 

Further Explanation:-

 

Value Description
name The name of the property you want to bind to the form field.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS