If you try running this source and move to the next tab using Tab Key, It doesn't display required validation message. How can I validate including this case??
Code for validation is like the followings.
<p>Username:<br>
<input type="text" name="user" ng-model="user" required>
<span style="color:red" ng-show="myForm.user.$dirty && myForm.user.$invalid">
<span ng-show="myForm.user.$error.required">Username is required.</span>
</span>
</p>