I created service and component for listing objects in Angular. And list is working corretcly (I tried with 'console.log()'). But nothing appears when I try to print them in localhost:4200.
<table>
<tr *ngFor="let py of list">
<td>{{py.name}}</td>
</tr>
</table>
("list" is an object array created with http get)
Also, my html component works fine, so it works when I write simple lines with <h1></h1>. And my object is not empty so if I change {{py.name}} part to {{py}}, I can see [object Object] in localhost.
Can you help me to solve my problem?
I'm using vs code as IDE and here is my Angular version and ect:
Angular CLI: 12.1.1
Node: 14.17.3
Package Manager: npm 6.14.13
OS: win32 x64