title: Ionic 3 How to dynamically add attributes to items
body: <p>In Ionic 3 you can add the following to an item to display it at the start or end of a row: </p>
  
  <pre><code>&lt;ion-item item-start&gt;Start&lt;/ion-item&gt;
  &lt;ion-item item-end&gt;End&lt;/ion-item&gt;
  </code></pre>
  
  <p>However I would like to add this attribute dynamically. I could do something like this:</p>
  
  <pre><code>&lt;ion-item item-start *ngIf="isStart"&gt;Start&lt;/ion-item&gt;
  &lt;ion-item item-end *ngIf="!isStart"&gt;End&lt;/ion-item&gt;
  </code></pre>
  
  <p>However I want to keep my HTML down to a minimum. Is there a way to add these dynamically?</p>