I'm trying to implement something similar to this solution in angular2. I know I can use the slice pipe to limit the number of iterations (similar to limitTo). The thing is, there's no ng-init directive on angular2, and local variables doesn't seem to work in this scenario, and I can't use a variable in the component's level since it should be local to each sub entity (as seen in the example below).
<template ngFor #record [ngForOf]="records" #i="index">
<template #showMoreLocal="2" ngFor #object [ngForOf]="record.objects | slice:0:showMoreLocal" #j="index">
....some htmls....
<button *ngIf="showMoreLocal < record.objects.length" (click)="showMoreLocal = showMoreLocal + 10">..</button>
</template>
</template>