How using inline if statement inside bracket : <p>I want using inline if statement in angular2 template like this?</p>

<pre><code>&lt;select [(ngModel)]="value" class="form-control" (blur)="onBlur()"&gt;
    &lt;option *ngFor="let item of items" [ngValue]="item"&gt;{{item.name?item.name:item}}&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>how to make <code>{{item.name?item.name:item}}</code> posible using inline if statement?</p>
