In my template I have the following block of code which has a loop from which I'm displaying a datepicker,
<tbody>
<tr *ngFor="let item of purchaseOrderService.purchases">
<td>
<date [(ngModel)]="item.purchasedDate" [validationData]="validationObj.group.chkDate"></date>
</td>
</tr>
</tbody>
Now I need to concatenate a value of item object along with validationObj.group.chkDate for which when I tried like this,
[validationData]="validationObj.group.chkDate.{{item.datePurchased}}"></date>
It is throwing some template errors, Any idea how to achieve the concatenation?