As when we use reactive form we have to import FormBuilder, FormGroup, Validators classes of forms. Why we do not need to inject Validators to use it like FormBuilder.
constructor(private formbuilder: FormBuilder) {
this.loginForm = formbuilder.group({
'email': [null, Validators.required],
'password': [null, Validators.required]
});
}