ngfor Only x élément

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