I would like to change the dir
attribute according to a dynamic variable .
<input
[id]="'element'+i"
[(ngModel)]="parent.firstName"
class="form-control input-lg"
[name]="'parent.firstName'"
[attr.aria-describedby]="'lblfirstName'+i"
pattern="^[a-zA-Z-u0590-u05FF ]+$"
#firstName="ngModel"
[required]="i == 0"
[ngModelOptions]="{ updateOn: 'blur' }"
/>