not a valid directive in angular code example Example: validation minlength angular Validators.minLength(9)