Exists
Ensures the value is exists in database GET,POST,PUT,PATCH method is allowed for rmote validation. default method is GET.
#Directive Code Snippet
<!DOCTYPE html>
<html lang="en">
...
<form (ngSubmit)="onSubmit(form)" #form="ngForm">
<input [exists]="<API_URL>,<method>" type="text" name="<name>" [(ngModel)]="<name>" #<name>="ngModel">
</form>
...
</html>