has error('required') angular code example Example: validation minlength angular Validators.minLength(9)