An Angular validator is a function that checks the value of a form control and returns null if it is valid, or an errors object otherwise. Angular provides Validators.required, minLength or email, and you can write custom validators, including asynchronous ones.
Example
new FormControl('', [Validators.required, Validators.minLength(8)])