+ Has errors: {{ !!formGroup.get("matchingPasswords.confirmPassword")!.errors }}
+ Has 'required' error: {{ formGroup.get("matchingPasswords.confirmPassword")!.hasError("required") }}
+ Is touched? {{ formGroup.get("matchingPasswords.confirmPassword")!.touched }}
+
+ 'required' error:
+
{{ formGroup.get("matchingPasswords.confirmPassword")!.getError("required") | json }}
+
+
+ Errors:
+
{{ formGroup.get("matchingPasswords.confirmPassword")!.errors | json }}
+
+
+