NgModelGroup

NgModelGroup

Stable Directive

What it does

Creates and binds a FormGroup instance to a DOM element.

How to use

This directive can only be used as a child of NgForm (or in other words, within <form> tags).

Use this directive if you'd like to create a sub-group within a form. This can come in handy if you want to validate a sub-group of your form separately from the rest of your form, or if some values in your domain model make more sense to consume together i