After filling all mandatory field of form submit button is Enable.
When i clear the form all date is clearing but submit button Still Enable.
Here is myForm :
**<form id="payment-form" name="creditPaymentForm">
<input type="text" ng-model="cardcno" ng-minlength="15" required="">
<input type="text" ng-model="cardcvv" ng-minlength="3" required="">
<input type="text" ng-model="cardexp" ng-minlength="6" required="">
<button type="submit" ng-click="submitForm()" ng-disabled="creditPaymentForm.$invalid">Submit</button>**
<button type="reset" ng-click="creditPaymentForm.$setPristine();">Clear</button>
</form>
$scopefrom ng-click on clear