angular for loop for fixe number of times code example Example: ngfor set max number of times *ngFor="let item of canforgensFeed | slice:0:10;"