In angular 4, I'm using *ngFor to show some images
<div *ngFor='let image of images;let i = index'>
<img [src]="'/assets/Images/'+image+'.png'" *ngIf="!tohide(i,0);">
</div>
After *ngFor is done for the first time, I wish to remove a specific image via *ngIf, without changing the array 'images'. The problem is whenever I removed an image with my function 'tohide', *ngFor bind again to the 'images' and update the set of images.
In other words, is there a way to force *ngFor to not to listen to the array 'images' occasionally?