title: AngularJS simple ng-controller error
body: <p>I am learning angularJS, <code>ng-app</code> works <code>ng-model</code> works, but when I try <code>ng-controller</code>, it does not work, the fault is on my side but I am unable to figure out what it is, I am not even trying anything fancy, just trying make the ng-controller work,</p>
  
  <p>what is my mistake in the below code?</p>
  
  <p>HTML : </p>
  
  <pre><code>&lt;div ng-app=""&gt;
      &lt;h1 ng-controller="HelloWorldCtrl"&gt;{{helloMessage}}&lt;/h1&gt;
  &lt;/div&gt;`
  </code></pre>
  
  <p>and JS : </p>
  
  <pre><code>function HelloWorldCtrl($scope){
      $scope.helloMessage="Hello World";
  }
  </code></pre>
  
  <p>same problem when run in <a href="http://jsfiddle.net/ohk3xm37/" rel="nofollow">jsfiddle</a></p>