Angular offers two approaches to forms. Template-driven forms are simple and defined in the HTML; reactive forms are defined in TypeScript and offer more control — better for complex, dynamic, or heavily-validated forms.
Template-driven — logic in the template
// just import FormsModule; minimal TS
Submit
