title: angular select default to first option
body: <p>I cannot seem to get my dropdown to default to having the first store selected.</p>
  
  <p>html:</p>
  
  <pre><code>&lt;select 
        id="store" 
        class="form-control input-inline input-medium"
        ng-model="orderVm.Stores.selectedStore.id"&gt;
      &lt;option 
           ng-repeat="store in orderVm.Stores" 
           value="{{store.Id}}"&gt;
          {{store.MarketplaceName}}
      &lt;/option&gt;
  &lt;/select&gt;
  {{orderVm.Stores.selectedStore}}
  </code></pre>
  
  <p>vm.Stores (loaded from a local JSON file):</p>
  
  <pre><code>[
    {
      "Id": 1,
      "MarketplaceId": 1,
      "MarketplaceName": "Etsy"
      ]
    },
    {
      "Id": 2,
      "MarketplaceId": 2,
      "MarketplaceName": "Shopify"
    }
  ]
  </code></pre>
  
  <p>controller:</p>
  
  <pre><code>angular
      .module('WizmoApp')
      .controller('orderController', orderController);
  
  orderController.$inject = ['$http', '$location', 'toastr', 'DTColumnDefBuilder', 'DTOptionsBuilder', 'Cart', 'OrderService', 'PackageService'];
  
  function orderController($http, $location, toastr, DTColumnDefBuilder, DTOptionsBuilder, Cart, OrderService, PackageService) {
          var vm = this;
          vm.Stores = json; //from file 
          vm.Stores.selectedStore = {
              id: vm.Stores[0].Id, 
              name: vm.Stores[0].MarketplaceName 
          };
  
          OrderService.getOrdersGroupedByStore(function (json) {
              vm.Stores = json;
              vm.selectedStore = {};
          });
  </code></pre>
  
  <p>routes.js:</p>
  
  <pre><code>            .state('layout.orders', {
                  url: '/orders',
                  templateUrl: '/Content/js/apps/store/views/order.html',
                  controller: 'orderController',
                  controllerAs: 'orderVm',
                  data: { pageTitle: 'Orders' }
              })
  </code></pre>
  
  <p>(It doesn't help that the first option is blank, but first things first.)</p>
  
  <p>I'd use ng-options but frankly, it's even more obscure than this.</p>