Suggest an editImprove this articleRefine the answer for “What does the formGroup directive do?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**`formGroup`** is a directive that binds an HTML form or container to a `FormGroup` object in reactive forms. **Key point:** it combines several `FormControl` instances into one logical group and lets Angular track the state and validation of the whole form at once.Shown above the full answer for quick recall.Answer (EN)Image`formGroup` is a directive that **binds an HTML form or container to a `FormGroup`** object in reactive forms. It: - combines several `FormControl` instances into one logical group; - lets Angular track the state and validation of the whole form at once; - makes it possible to pass the whole form into the component (`form.value`, `form.valid`, and so on). Example: ```typescript form = new FormGroup({ name: new FormControl(''), email: new FormControl('') }); ``` ```html <form [formGroup]="form" (ngSubmit)="onSubmit()"> <input formControlName="name"> <input formControlName="email"> </form> ``` The `formGroup` directive connects the template and the form model, so Angular can manage their synchronization and state.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.