Ngfor hanya x item

<li *ngFor="let item of list.slice(0, 10);">
   {{item.text}}
</li>
Nickton