Your extractData (and possibly also your HTTP API) is returning an object {} – ngFor requires an array [] to iterate.
Change your service/API to produce an array, or transform the object in your component.
More Related Contents:
- *ngIf and *ngFor on same element causing error
- ngFor with index as value in attribute
- How to use `trackBy` with `ngFor`
- function gets called several times
- How to iterate object keys using *ngFor?
- how to use track by inside ngFor angular 2
- how to bind img src in angular 2 in ngFor?
- How to create variable in ngFor loop?
- Is it necessary to unsubscribe from observables created by Http methods?
- How to iterate object keys using *ngFor
- Angular error: “Can’t bind to ‘ngModel’ since it isn’t a known property of ‘input'”
- How to write unit testing for Angular / TypeScript for private methods with Jasmine
- Angular 2 Scroll to top on Route Change
- how to format date in Component of angular 5
- Angular2 – Redirect to calling url after successful login
- Getting “Uncaught (in promise): TypeError: Object(…) is not a function” Error from Ionic-native VideoEditor Plugin
- Typescript/Angular/ES6: can I finally let `hasOwnProperty()` die in for loops?
- Hide/show individual items inside ngFor
- How to get angular2 [innerHtml] to work [duplicate]
- How to inject service into class (not component)
- Angular 2 ‘component’ is not a known element
- How to make a sequence of http requests in Angular 6 using RxJS
- Property ‘json’ does not exist on type ‘Object’
- Update parent component property from child component in Angular 2
- ‘node-sass’ usage is deprecated and will be removed in a future major version
- Observable.of is not a function
- Default sorting in Angular Material – Sort header
- ng2 – Difference between ng-container and ng-template tags
- How to use pipes in Angular 5 reactive form input
- Syntax Error in Angular App: Unexpected token