<div class="checkbox-list">
  <div *ngFor="let item of items; let i = index" class="checkbox-item">
    <label>
      <input
        type="checkbox"
        [formControl]="checkboxes.at(i)"
        id="checkbox-{{ i }}"
      />
      {{ item.name }}
    </label>
  </div>
</div>