Angular - Template-Driven Forms
Why is it important to use template attributes like
required, pattern, and minlength in Angular template-driven forms instead of only validating in the component class?