title: How to add ngIf Condition
body: <p>I need to show the image, if the condition is true on ionic2 page (.html)
  With reference to angular documentation I am trying the following:
  Here is the reference <a href="https://angular.io/docs/ts/latest/api/common/index/NgIf-directive.html" rel="nofollow noreferrer">angular doc</a>
  Inside the for loop, leg is accessible if I try to print it within div tag. But, it is not accessible in condition.</p>
  
  <pre><code>&lt;div *ngIf="{{leg.legIndex}} == 0" &gt;
    &lt;!-- show image middleLeg_1.png if legIndex = 0 --&gt;
  &lt;img width="20" height="80" src="img/middleLeg_1.png" /&gt;
  &lt;/div&gt;
  </code></pre>