validation for min and max length in angular code example Example: validation maxlength angular Validators.maxLength(11)