Angular · Junior · Question 45 of 75
What are the two classic approaches to forms in Angular?
- ✓Correct answer: Template-driven forms (
ngModel) and reactive forms (FormControl/FormGroup) - 2Controlled and uncontrolled forms
- 3Server forms and client forms
Explanation
Template-driven forms are quick for simple cases; the model lives in the template. Reactive forms define the model in the class, are explicit, typed and easier to test.