I have pairs of [value, checkbox] with the following structure
<tr *ngFor="let element of elements">
<td>{{ element.id }}</td>
<td>
<label class='checkbox'>
<input type='checkbox'>
</label>
</td>
</tr>
How do I catch a click on checkbox and then capture corresponding value so I can send it to server as s parameter?
Thanks in advance.