Template-Driven Forms
Forms defined mainly in the template using `ngModel`.
What is Template-Driven Forms?
Template-driven forms are defined mostly in the HTML with ngModel. They are quick for simple forms.
<form #f="ngForm" (ngSubmit)="save(f.value)">
<input name="nickname" ngModel required />
<button>Save</button>
</form>
Level: Journeyman · More Angular terms at this level
Updated