angular add custom validator template driven code example Example: validation minlength angular Validators.minLength(9)