I have form with input fields. The classes which are applied to input field are changed on click of submit button. I want to apply css rule if two css classes are applied with other css classes
Ex.
<input ng-model="formField.val" type="text" name="103"
class="form-control ng-pristine ng-untouched ng-empty ng-invalid ng-invalid-required"
ng-disabled="readOnlyFlag" required="">
on click of submit button, the new css classes ng-invalid & ng-touched are applied with other css classes. I want apply css rule if ng-invalid & ng-touched are applied with other css classes.
<input ng-model="formField.val" type="text" name="103"
class="form-control ng-pristine ng-empty ng-invalid ng-invalid-required ng-touched ng-invalid ng-invalid-required"
ng-disabled="readOnlyFlag" required="">