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