title: Accessing ng-model from controller getting undefined
body: <p>I'm having an 
  <code>&lt;input type="text" ng-model="authorid"&gt;</code> in my html, it gets automatically updated when user updates some other field in the form. It works fine in the html, however trying to access the authorid from the controller it always gets undefined </p>
  
  <pre><code>console.log($scope.authorid);
  </code></pre>
  
  <p>... any ideas please?</p>
  
  <p>I have tried numerous solutions here and none worked, especially that I don't want to add another method to set it. Any ideas please?</p>