What is wrong in Angular2 ng-if
<p>I'm really new to angular, I have been through all ng-if questions and cannot seem to find the right answer.</p>

<p>I have this:</p>

<pre><code>&lt;tr *ngFor="#position of positions"&gt;                               
&lt;td&gt;
 &lt;div ng-if="position.way == 0"&gt;Long&lt;/div&gt;
 &lt;div ng-if="position.way == 1"&gt;Short&lt;/div&gt;
 {{position.way}}
 &lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>{{position.way}} is outputting either 1 or 0 as expected and is defined as a string in the model. But the two div's are both displayed no matter what position.way is.</p>

<p>I have tried wrapping 0 and 1 in quotes, I have tried tripple equality operator, same result.</p>

<p>What am I doing wrong here?</p>