establecer la forma angular inválida

myForm.setErrors({ 'invalid': true });
Precious Peacock