In my main component i got a tbody with ngFor it should send elements to another component which should display the elements items.
Here is my main component
<app-clazz-buttons (clicked)="onClazzButtonClicked($event)"></app-clazz-buttons>
<br>
<table id="tblStudents">
<thead>
<th>Geschlecht</th>
<th>Name</th>
<th>Alter</th>
<th>Reg</th>
<th>Klasse</th>
</thead>
<tbody *ngFor="let student of students"
app-student-row
[student]="student">
</tbody>
</table>
<router-outlet></router-outlet>
And here is the other component
<tr>
<td>{{student.id}}</td>
<td>{{student.gender}}</td>
<td>{{student.lastname}} {{student.firstname}}</td>
<td>{{student.age}}</td>
<td>{{student.registered}}</td>
<td>This will come soon</td>
</tr>