working with Angular app with Laravel api. I have following html file as well,
<tbody>
<tr *ngFor="let emp of employees">
<th scope="row">{{emp.id}}</th>
<td>{{emp.name}}</td>
<td>{{emp.email}}</td>
<td>{{emp.salary}}</td>
</tr>
</tbody>
but I cant display my table data according to the html. and console generate following error message
core.js:10105 NG0303: Can't bind to 'ngForOf' since it isn't a known property of 'tr'.
how could I fix this problem?