title: Ng-model does not update controller value
body: <p>Probably silly question, but I have my html form with simple input and button:</p>
  
  <pre><code>&lt;input type="text" ng-model="searchText" /&gt;
  &lt;button ng-click="check()"&gt;Check!&lt;/button&gt;
  {{ searchText }}
  </code></pre>
  
  <p>Then in the controller (template and controller are called from routeProvider):</p>
  
  <pre><code>$scope.check = function () {
      console.log($scope.searchText);
  }
  </code></pre>
  
  <p>Why do I see the view updated correctly but undefined in the console when clicking the button?</p>
  
  <p>Thanks!</p>
  
  <p>Update:
  Seems like I have actually solved that issue (before had to come up with some workarounds) with:
  Only had to change my property name from <code>searchText</code> to <code>search.text</code>, then define empty <code>$scope.search = {};</code> object in the controller and voila... Have no idea why it's working though ;]</p>