title: Setting a default value in a database-generated list
body: <p>I'm trying to update a database driven program to MVC5. My current hurtle is a simple selection list. I have it printing out values and taking data just fine, but it needs to default to the currently stored value when the user opens the modal it is contained in.</p>
  
  <p>View code snippet:</p>
  
  <pre><code>    &lt;select ng-model="DbReferenceId"&gt;
      @foreach (var item in (ViewData["ReferenceData"] as List&lt;Reference&gt;))
          {
              &lt;option value="@item.Id"&gt;@Html.DisplayFor(modelItem =&gt; item.IdDisplay)&lt;/option&gt;
          }
      &lt;/select&gt;
  </code></pre>
  
  <p>So we're all on the same page, DbReferenceId is the current value of Reference, and item.Id/IdDisplay point to possible options for Reference from another  table.</p>
  
  <p>So, what's a quick and dirty way I can get this working?</p>