Slide 8
Slide 8 text
Form Model
● It represents the HTML structure
● It retains form states such as dirty, valid, invalid, etc.
● It is different from the data model.
● It is the same for template-driven and reactive forms but created differently.
● For template-driven forms, Angular generates the form model
● For reactive forms, Angular does not generate the form model rather it is
generated from instances of the FormGroup and FormControl.