title: change dynamical values in rows angular
body: <p>Well I have a  problem when I change the values of a table but just need that change the value of the row, but this happen in all rows.</p>
  
  <p><a href="https://i.stack.imgur.com/QxR5w.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QxR5w.png" alt="enter image description here"></a>
  now if I change just a value, change all values of the right.</p>
  
  <p><a href="https://i.stack.imgur.com/VdOpi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VdOpi.png" alt="enter image description here"></a>
   in html:</p>
  
  <pre><code>&lt;tr ng-repeat="detail in detalleTransCover.details track by $index"&gt;
                                      &lt;td&gt;
                                          &lt;select class="form-control" ng-model="detail.plan_account_id" ng-options="planAcoount.id as (planAcoount.tipo_cuenta + ' -- ' + planAcoount.descripcion) for planAcoount in planAccounts"&gt;&lt;/select&gt;
                                      &lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;input type="text" class="form-control" ng-model="detail.glosa" &gt;
                                      &lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;input type="text" value="0" class="form-control" ng-model="detail.debeDolar" &gt;
                                      &lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;input type="text" value="0" class="form-control" ng-model="detail.haberDolar" &gt;
                                      &lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;input type="text" value="0" class="form-control" ng-model="detail.debeBolivianos" &gt;
                                      &lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;input type="text" value="0" class="form-control" ng-model="detail.haberBolivianos" &gt;
                                      &lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;select class="form-control" ng-model="detail.cuentade" ng-change="subcuentasChange(detail.cuentade)"&gt;
                                              &lt;option value="usuario"&gt;EMPLEADO&lt;/option&gt;
                                              &lt;option value="proveedor"&gt;PROVEEDOR&lt;/option&gt;
                                              &lt;!--&lt;option value="cliente"&gt;CLIENTE&lt;/option&gt;
                                              &lt;option value="activo"&gt;ACTIVO FIJO&lt;/option&gt;--&gt;
                                          &lt;/select&gt;
                                      &lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;select class="form-control" ng-if="proveedorDropDown" ng-model="detail.plan_account_id" ng-options="proveedor.id as proveedor.razon_social for proveedor in proveedorDatos"&gt;&lt;/select&gt;
                                          &lt;select class="form-control" ng-if="userDropDown" ng-model="detail.plan_account_id" ng-options="user.id as user.name for user in userDatos"&gt;&lt;/select&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
  </code></pre>
  
  <p>now in angular where i need that this happen have this:</p>
  
  <pre><code>$scope.userDropDown = false;
  $scope.proveedorDropDown = false;
  planaccountsfactory.getPlanAccounts().then(function (response) {
     $scope.planAccounts = response.data;
  });
  usersFactory.getUsers().then(function (response) {
      $scope.userDatos = response.data;
  });
  providersFactory.getProviders().then(function (response) {
      $scope.proveedorDatos = response.data;
  });
  $scope.subcuentasChange = function (type)
  {
      if(type === 'usuario')
      {
          $scope.userDropDown = true;
          $scope.proveedorDropDown = false;
      }
      if(type === 'proveedor')
      {
          $scope.userDropDown = false;
          $scope.proveedorDropDown = true;
      }
  };
  </code></pre>