yest but my object is different as your object can you see below my object {"Search":[ {"name":"akram","roll":101}, {"name":"wasim","roll":102} ],"total":"two record"}
<li *ngFor="let movie of movieListItem.Search"> Cannot read property 'Search' of undefined Error occurs in the template of component MoviedasboardComponent.
----------Below is the code------------ .ts public movieListItem:movieItem[] : data store from subscribe method .service getList(): Observable<movieItem[]> { return this.http.get<movieItem[]>(this.movieRender); } .html <ul> <li *ngFor="let movie of movieListItem.Search"> {{movie.Title}} </li> </ul>
*ngForin array of objects?