I have a payment form which accepts credit card information. The CVV field is set to accept only up to 4 numeric characters. Is there a way in AngularJS to change the maxlength to 3 or 4 based on card type that is chosen in a different combo box? I have a payment form which accepts credit card