bind data based on name of index in array in angular code example Example: ngfor <li *ngFor="let item of items; index as i; trackBy: trackByFn">...</li>