title: Angular setting form with scope?
body: <p>What I want is a form that I can use for both creating and updating. So I pass before showing </p>
  
  <pre><code>$scope.form = {};
  
  $scope.car = null;
  $scope.getCar = function(hash) {
    $http.get('/cars/'+hash).success(function(car) {
        $scope.car = car;
        $scope.form = car;
    });
  };
  </code></pre>
  
  <p>As you can see I add the result of the get to both car and form.
  Now I'm opening the View:</p>
  
  <pre><code>&lt;h1&gt;{{ form.name }} &lt;small&gt;shows correctly&lt;/small&gt;&lt;/h1&gt;
  </code></pre>
  
  <p>But a line after that I'm trying almost the same:</p>
  
  <pre><code>&lt;form class="list" ng-submit="createOrUpdateForm(form)"&gt;
  
      &lt;label class="item"&gt;
          &lt;span class="input-label"&gt;Name&lt;/span&gt;
          &lt;input type="text" ng-model="form.name"&gt;
  </code></pre>
  
  <p>Here it's not shown... But when I add the same line after it like this:</p>
  
  <pre><code>&lt;input type="text" ng-model="car.name"&gt;
  </code></pre>
  
  <p>This does work, but then I can't use the ng-submit anymore, because that references to form.</p>
  
  <p>Form some reason I can't set the form scope? </p>