AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng submit Directive

AngularJS ng-submit Directive

 

 

The ng-submit directive is used to specify a function to run when the form is submitted. Without it, the form will not get submitted.

 

Syntax:-

 

< form ng-submit="expression" >< /form >

 

Further Explanation:-

 

Value Description
expression A function to be called when the form is being submitted, or an expression to be evaluated, should return a function call.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS