title: Error: No controller: ngModel
body: <p>When I add <code>ng-change="reverseOrder=this.checked"</code> to a checkbox, as so:</p>
  
  <pre><code>&lt;input id="reverseOrder" type="checkbox" ng-change="reverseOrder=this.checked"/&gt;
  </code></pre>
  
  <p>I get the following exception:</p>
  
  <pre><code>Error: No controller: ngModel
  </code></pre>
  
  <p>I've tried adding <code>ng-model</code> to the inputbox, a div wrapping the entire view and in the <code>&lt;html&gt;</code> tag, this produces an exception liek the following:</p>
  
  <pre><code>Error: Non-assignable model expression:  (&lt;div class="ng-scope" ng-model=""&gt;)
  </code></pre>
  
  <p>What's going on here?  I didn't think I needed to explicitly pull in the model.  I've read the <a href="http://docs.angularjs.org/api/ng.directive%3angModel">Angular documentation</a> but am none the wiser.</p>
  
  <p>Thanks in advance.</p>
  
  <p>Dave</p>