title: Angular 5 *ngFor SELECT: how to set an option SELECTED if it's the first?
body: <p>I'm building a simple form looping through a list of questions, and for each question through the list of its answers.
  Now, since I'm building a <code>SELECT</code> form control, listing the available options through a <code>*ngFor</code>, I would like to make the first option the default one, in other words, make it <strong>SELECTED</strong> based on the value of the local variable <code>first</code>, but I'm not getting why the following approach is not working.</p>
  
  <pre><code>&lt;select [formControlName]="question.id"&gt;
              &lt;option *ngFor="let answer of answers; first as isFirst" [value]="answer.name" [selected]="isFirst"&gt;
                  {{answer.name}}
              &lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>The suggested questions didn't resolve my problem. Tried replacing [selected] with [attr.selected] but didn't work.</p>