title: undefined angularJS control function error
body: <p>I am discovering <code>angularJS</code>, but I get an error <code>Argument 'LawContrl' is not a function, got undefined</code>. In my <code>form</code>, I have in my rails app</p>
  
  <pre><code>%div{"ng-controller" =&gt; "LawContrl"}
    =form-for ... 
      %li{"ng-repeat"=&gt;"entry in entries"}  {{entry.name}} //I am using haml file
  </code></pre>
  
  <p>in my laws.js.coffee file, I have</p>
  
  <pre><code>@LawContrl = ($scope) -&gt;
    $scope.entries = [
      { name: "hi"}
      {name: "ho"}
    ]
  </code></pre>