ngForm
(directive in module ng
)
Nestable alias of directive. HTML
does not allow nesting of form elements. It is useful to nest forms, for example if the validity of a
sub-group of controls needs to be determined.form
<ng-form
[name="{string}"]>
</ng-form>
as attribute<ANY ng-form="{string}">
...
</ANY>
as class<ANY class="ng-form: {string};">
...
</ANY>
ngForm|name(optional) – {string=} –
Name of the form. If specified, the form controller will be published into related scope, under this name.