angular mandatory field validation code example Example: validation minlength angular Validators.minLength(9)