I tried to use async pipe and ngFor directive in Angular 4.4. It works fine but I got weird error message in console:
"Error: Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays."
<table>
<tbody>
<tr *ngFor="let event of events | async">
</tr>
</tbody>
</table>
export class EventsComponent {
events: Observable<Array<Event>>;
constructor(private eventService: EventService) {
this.events = this.eventService.findAll();
}
}
Please advise