cara memanggil sudut 8 validasi ngif

form: FormGroup;

onSubmit(){
    //checks if form is valid
       if( this.form.valid){
          //more code here
        }
}
GutoTrosla