Is there a way to properly display a property of the local variable theme
, such as theme.name
?
Below is an example of how my *ngFor
is structured:
<ul>
<li *ngFor="#theme of themes">
<span>theme.name</span>
</li>
</ul>
I attempted using {{theme.name}}
as well, but unfortunately, that approach did not yield the desired result.