I am using Angular 4 to create a form. One of the controls in the form is a list of checkboxes.

Please refer to Plnkr [Plnkr - Working](https://plnkr.co/edit/scuOPsypxP8IEsW8Vb2L?p=preview)

The list of stations is fetched from a webservice. For simplicity, I have hard coded the Stations array. For each of these stations, I would like to display a checkbox (under 'station' formgroup, so that all selected stations can be submitted under the 'station' formgroup). This Plnkr does what it's expected to do, that is display one checkbox for every station.

However, I would like to have some control over how the checkboxes are rendered. Right now, each checkbox is in a row of it's own. I would like to display, lets say, 5 checkboxes per row.

Since doing this in HTML was turning out to be very complicated, I decided to convert the stations array to a 2D array and then iterate over the 2D array in HTML to show 5 checkboxes per row.

This is the Plnk for the 2D array attempt [2D Plnkr - not working](https://plnkr.co/edit/isgEDDI4H5s41tcUrIEO?p=preview)

```
<table>
            <div class="checkbox checkbox-primary" formGroupName="station" 
              *ngFor="let station of stations2D; let i = index">
              <tr>
              <td><input id="{{ station[i][0] }}" formControlName="{{station[i][0] }}" type="checkbox" [checked]=false> {{station[i][0]}}</td>
              <td><input id="{{ station[i][0] }}" formControlName="{{station[i][1] }}" type="checkbox" [checked]=false> {{station[i][1]}}</td>
              <td><input id="{{ station[i][0] }}" formControlName="{{station[i][2] }}" type="checkbox" [checked]=false> {{station[i][2]}}</td>
              <td><input id="{{ station[i][0] }}" formControlName="{{station[i][3] }}" type="checkbox" [checked]=false> {{station[i][3]}}</td>
              <td><input id="{{ station[i][0] }}" formControlName="{{station[i][4] }}" type="checkbox" [checked]=false> {{station[i][4]}}</td>
            </tr>
            </div>
            </table>

```

This is not working. While checkboxes are displayed, there are no labels and there are a bunch of errors in console stating 'Cannot find control'.
What am I doing wrong in setting the controls? Is this approach even valid, or is there a better way to achieve this?