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