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