Angular - Template-Driven Forms
You want to disable the submit button until the form is valid using template-driven validation. Which of these is the best way to do it?
What should replace
<form #myForm="ngForm"> <input name="email" ngModel required email> <button type="submit" [disabled]="???">Submit</button> </form>
What should replace
??? to disable the button until the form is valid?