title: ng-model not working inside ng-include
body: <p>I am a beginner in angularjs and currently I am facing an issue with ng-include.</p>
  
  <p>I have a test app using partials.
  Here is my code.</p>
  
  <pre><code>&lt;html ng-app ="TextboxExample"&gt;
      &lt;head&gt;
          &lt;title&gt;Settings&lt;/title&gt;
          &lt;script src="angular.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
  
      &lt;body ng-controller="ExampleController"&gt;
          &lt;div ng-include src = "'view.html'"&gt;&lt;/div&gt;
          &lt;script&gt;
            angular.module('TextboxExample', [])
              .controller('ExampleController', ['$scope', function($scope) {
                $scope.textboxVal = 'fddfd';
  
                $scope.ReadGeneralSettings = function() {
                  alert($scope.textboxVal);
                }
                $scope.ResetGeneralSettings = function() {
  
                  $scope.textboxVal = 'fddfd';
                }
  
              }]);
          &lt;/script&gt;
          &lt;button class="pull-right" ng-click = "ReadGeneralSettings()"&gt;Read&lt;/button&gt;
          &lt;button class="pull-right" ng-click = "ResetGeneralSettings()"&gt;Cancel&lt;/button&gt;
  
  
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The partial code view.html is</p>
  
  <pre><code>&lt;input type="text" ng-model="textboxVal"&gt;
  </code></pre>
  
  <p>For some reason, textboxVal set to ng-model doesn't get updated when I enter the value in the text box.
  But this works fine if I don't use ng-include and directly add the content of view.html into the main html file.
  Please help.</p>
  
  <p>Thanks
  Sunil</p>