angular form validation max length code example Example: validation maxlength angular Validators.maxLength(11)