Angular Form

 There are two approach for form:
1. Template Driven form and 
2. Reactive Form


1.Template driven form :
In template driven form there are key components  like:
ngForm -> Tracks the whole form
ngModel-> Binds input values
Template reference variable(#name="ngModel")-> Access control state
Validation-> by HTML attributes (required, email etc)

Comments

Popular posts from this blog

Angular Guides Notes

SIGNALS

Directives