title: Using ng-selected in combobox return undefined in AngularJS
body: <p>I have a problem when ng-selected with the following code:</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;select class="form-control" ng-model="producto.proveedor"&gt;
       &lt;option ng-selected="data.id_proveedor == proveedor.id" ng-repeat="proveedor in proveedores" value="{{proveedor}}"&gt;{{proveedor.nombre_empresa}}&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code>app.controller("EditarProductoController", function editController($scope,$routeParams,$filter,$location){
      $scope.textButton = "Editar producto";
      $scope.producto = $filter('filter')($scope.productos, {id:$routeParams.id})[0];
  
      $scope.editarUsuario = function(){
          alert($scope.producto["proveedor"]);
          $location.url("/");
      }
  </code></pre>
  
  <p>})</p>
  
  <p>If I remove "ng-selected" from the code, it works fine</p>
  
  <p>The code works perfect, the problem is that when I load the form return in the value combobox "undefined", it is rare because the visual part works well, then I can solve the problem if I select a different item of the combobox and re-select the original, it is Very annoying to the client, does anyone know how to fix this bug?</p>