title: AngularJS: ng-model not updating object, but updates field in object
body: <p>I am working with AngularJS project and I have the following problem. I have a code:</p>
  
  <p><strong>form.html</strong>:</p>
  
  <pre><code>&lt;form&gt;
    &lt;input ng-model="someVariable" type="text"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p><strong>details.html</strong>:</p>
  
  <pre><code>&lt;div ng-include="'form.html'"&gt;&lt;/div&gt;
  {{ someVariable }}
  </code></pre>
  
  <p><strong>AngularJS Controller for details.html</strong>:</p>
  
  <pre><code>angular.module('SomeModule')
    .controller('DetailsController', function ($scope) {
    $scope.someVariable = {};
  });
  </code></pre>
  
  <p>With this code someVariable is not displaying, but when I change ng-model to someVariable.someField, and i try to display it... it works! Could anyone explain me why?</p>