title: data-ng-options directive in AngularJS
body: <p>There is the following AngularJS controller code:</p>
  
  <pre><code>  $scope.orders = Order.query()
    $scope.order_statuses = OrderStatus.query()
  </code></pre>
  
  <p>Each order has 'order_status_id' field.</p>
  
  <p>And the view (HTML SLIM):</p>
  
  <pre><code>    table.table
          tr ng-repeat="order in orders | orderBy:'-id'"
              td.col-xs-6.vertical-align
                  | Order \#{{ order.id }}
              td.col-xs-6
                  select data-ng-options="o.title for o in order_statuses" data-ng-model="order.order_status_id"
  </code></pre>
  
  <p>As you can see I draw all orders in table, and each order has select with order statuses. Each select has all order statuses, it works. But I bind status of each order in 'data-ng-model' attribute, but it doesn't work - each select is unselect. How can I fix it? Thanks.</p>