
<h4>Nested component's list of items:</h4>
<ul>
  <li *ngFor="let item of listItems">{{item.id}} {{item.name}}</li>
</ul>

<h4>Pass an object from parent to nested component:</h4>
<ul>
  <li *ngFor="let item of items">{{item.id}} {{item.name}}</li>
</ul>

