title: Change classes in *ngFor in Angular
body: <p>I manage to apply this *ngFor and it's working:</p>
  
  <pre><code>&lt;div class="dummy__1" *ngFor="let item of dummy.pic; let i = index"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>How do I go about changing the <code>class="dummy_1"</code> to generate like it is shown below:</p>
  
  <pre><code>&lt;div class="dummy__1"&gt;&lt;/div&gt;
  &lt;div class="dummy__2"&gt;&lt;/div&gt;
  &lt;div class="dummy__3"&gt;&lt;/div&gt;
  </code></pre>