form.get().haserror vs form.control.error code example Example: validation minlength angular Validators.minLength(9)