set minimum value to angular validator code example Example: validation minlength angular Validators.minLength(9)