AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng model options Directive

AngularJS ng-model-options Directive

 

 

The ng-model-options directive is used to control the binding of an HTML form element and a variable in the scope. It can specify that the binding should wait a specific number of milliseconds or wait for a specific event to occur and many similar things.

 

Syntax:-

 

< element ng-model-options="option" >< /element >

 

Further Explanation:-

 

Value Description
option An object specifying what options the data-binding must follow. Legal objects are {updateOn: 'event'},  {debounce : 500}, {allowInvalid : true|false}, {getterSetter : true|false}, {timezone : '0100'}.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS