Enables binding angular expressions to onsubmit events.
Additionally it prevents the default action (which for form means sending the request to the server and reloading the current page), but only if the form does not contain
ngSubmithandlers together. See the
formdirective documentation for a detailed discussion of when
ngSubmitmay be triggered.
<ng-submit ng-submit="expression"> ... </ng-submit>
<form ng-submit="expression"> ... </form>
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.