Dimension
Ensures the The file under validation must be an image meeting the dimension constraints as specified by the accppeted params like: height=200,max_height=200,width=200,max_width=200,ratio=1.2
#Directive Code Snippet
<!DOCTYPE html>
<html lang="en">
...
<form (ngSubmit)="onSubmit(form)" #form="ngForm">
<input [dimension]="[max_width=200,max_height=200]" type="text" name="<name>" [(ngModel)]="<name>" #<name>="ngModel">
</form>
...
</html>