title: Angular4 - How to set select option value dynamically
body: <p>I have a select list with the code - </p>
  
  <pre><code>&lt;select (change)='onGroupChange($event)'&gt;
      &lt;option *ngFor="let group of groups" value={{group.group_name}}&gt;
          {{group.group_name}}
      &lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>Now I have a group name value saved as a different variable and I want to set that as the select list value if it matches any.</p>