Intro to Reactive Forms in Angular - Building a Form with Groups

Solution: FormGroup Basics


1. In the applicationForm initialization, change the = to : and remove semicolons. Add a comma at the end of line 24. In this way you're giving the FormGroup constructor an object with key/values.
2. In the template, change the directives of both inputs from [formControl] to formControlName since they now are wrapped in the applicationForm FormGroup.