title: Angular in intelliJ- issues with the controller
body: <p>I started to learn angularJs (just in the beginning).
  I opened a new project in intelliJ (Static Web).</p>
  
  <p>The code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html data-ng-app=""&gt;
  &lt;head lang="en"&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Using Angularjs Directive and Data Binding&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div ng-controller="SimpleController"&gt;
  Name:
  &lt;br /&gt;
      &lt;input type="text" ng-model="name"/&gt;
  &lt;/br&gt;
  &lt;ul&gt;
      &lt;li ng-repeat="cust in customers | filter:name | order"&gt;{{ cust.name}}-{{cust.city}}&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  &lt;script src="Scripts/angular.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
      function SimpleController($scopecust){
          $scopecust.customers= [
              {name:'John Smith', city:'Barca'},{name:'John Snow', city:'winterfull'},{name:'John Do', city:'milan'}
          ];
      }
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>For some reason i guess the controller is not bind .. all I see in the web page is Name with input field</p>