Im receiving a blank data , any reason why?
<div *ngFor="let item of googleData | keyvalue">
<h3>Title :{{ item.title }}</h3>
</div>
resources in console and Output
Im receiving a blank data , any reason why?
<div *ngFor="let item of googleData | keyvalue">
<h3>Title :{{ item.title }}</h3>
</div>
resources in console and Output
Problem is in the pipe if i am correct. You do not need it if you want to retrieve the title using item.title
.
The output will be separated into {key: myKey, value: myValue}
so if you want to retrieve the title with that notation you can write item.value.title
if i am not mistaken ^^