title: How to set scope property with ng-init?
body: <p>I am trying to set the value of a $scope property using ng-init, and I am unable to access that value in the controller's javascript. What am I doing wrong?  Here is a fiddle:  <a href="http://jsfiddle.net/uce3H/">http://jsfiddle.net/uce3H/</a></p>
  
  <p>markup:</p>
  
  <pre><code>&lt;body ng-app&gt;
      &lt;div ng-controller="testController" &gt;
          &lt;input type="hidden" id="testInput" ng-model="testInput" ng-init="testInput='value'" /&gt;
      &lt;/div&gt;
      {{ testInput }}
  &lt;/body&gt;
  </code></pre>
  
  <p>javascript:</p>
  
  <pre><code>var testController = function ($scope) {
       console.log($scope.testInput);
  }
  </code></pre>
  
  <p>In the javascrippt, $scope.testInput is undefined.  Shouldn't be 'value'?</p>