title: Break NgFor Loop in Angular 2
body: <p>I am trying to iterate array using <code>*ngFor</code> inside the template and searching for an element based on the key, using *ngIf. Now when the condition is matched with the key I want to break the <code>*ngFor</code>. I wondered if there any option in angular2 to break the <code>ngFor</code> loop based on condition.</p>