I have a form with input type="email". Now I need the submit button to be disabled until the input field is empty, however if the user enters anything the button should be enabled. Using ng-disabled on the button, but the problem is that the button remains disabled even after I enter something into the field and remains disabled until I enter a valid email id. My guess that the html5 validation occurs before the angular js functionality can evoke or something like that.I have a form with input type="email". Now I ne