title: Drop down selection issue in angularjs
body: <p>I have a dropdown and its being populated correctly by three recordes d1, d2, d3 and their values are 0,1,2</p>
  
  <pre><code>&lt;div class="form-group"&gt;
                      &lt;label for="Distance" class="col-md-3"&gt;
                          Distance :
                      &lt;/label&gt;
                      &lt;div class="col-md-4"&gt;
                          &lt;select id="Distance" name="Distance" class="form-control selectwidthauto" ng-model="ModelData.Distance" 
                      ng-options="distance.Code as distance.Description for distance in DropdownData.Distances"&gt;
                          &lt;/select&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>Why the dropdown selection is not working whereas I am getting the value of {{ModelData.Distance}} as 2 on the html.</p>