title: Angular 2: How to handle *ngif in option select
body: <p>How to can i use *ngif for set a specific default selected option?</p>
  
  <p>I need reload data from database for editing, when i retrieve data i need set the default value of option in base a stored value.</p>
  
  <p>I have this:</p>
  
  <pre><code>&lt;select class="form-control" id="deviceModel"&gt;
          &lt;option value=""&gt;Select a category&lt;/option&gt;
          &lt;option *ngFor='let element of category'*ngIf="{{element}}==={{nameDevice}}" value="{{element}}"&gt;{{element}}&lt;/option&gt;    
      &lt;/select&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>