title: What loop-types exist in Angular 2?
body: <p>What are the types of loops that exist in Angular 2?</p>
  
  <p>I could only find <code>for</code> and <code>foreach</code>, but I'm having trouble to find any other ones. Is there a list somewhere?</p>
  
  <p>Are there examples somewhere? That would help in understanding very strongly.</p>
  
  <p>[EDIT]:
  What I am essentially looking for is a list of all the different loop types in Angular 2.</p>
  
  <p>[EDIT 2]:
  What I really mean are the loops specific to Angular 2 within the template-section (Sorry, I didn't know there were so many possibilities). To give an example with *ngFor:</p>
  
  <pre><code>&lt;ul class="contacts"&gt;
    &lt;li *ngFor="#contact of contacts"
        (click)="onSelectContact(contact)"
        [class.selectedContact]="contact === selectedContact"&gt;
      &lt;span class="badge"&gt;{{contact.id}}&lt;/span&gt; {{contact.name}}
    &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>