I have a material table that contains a checkbox for each row which I want to bind the checked attribute in the following way:
<mat-checkbox [checked]="selection.isSelected(row)" ...></mat-checkbox>
But when I run ng lint on my library I get the the @angular-eslint/template/no-call-expression lint error on the checked binding which is kind of obvious. However I have no idea how to avoid using call expression on this. The selection (which here is a CDK SelectionModel<any>) type is the container of the selection status of the row, so I have to get the row status from here. It is not possible to set a flag on the row.
Anyone have any solution on how to avoid calling expression in these kind of bindings?