angluar form add validator with error message code example Example: validation minlength angular Validators.minLength(9)