title: In AngularJs, when calling angular.module get E Variable undefined Error
body: <p>Trying to write first angular app using node.js, express, and jade. So I know it must be something very simple but I have been stuck for a while.</p>
  
  <p>I included angular js ( route using the CDN in the head section of the jade(html) template.
  As indicated bellow:</p>
  
  <pre><code>link(href='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.js')
  link(href='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular-route.js')
  </code></pre>
  
  <p>I also tried switching from the angular.js in the CDN to a plain include in my own server, without any positive results to my problem.
  I use the directive <strong>ng-app='myApp'</strong> in the <strong><em>html</em></strong> tag of the template (also tried in the <em>body</em> tag after the head includes).
  I also include myApp in the head section of the jade (or html) template using:     </p>
  
  <pre><code>script(src='/webapp/js/myApp.js')
  </code></pre>
  
  <p>The code in myApp.js looks like this:</p>
  
  <pre><code>var myApp=angular.module('myApp', [
    'ngRoute'
  ]).config(['$routeProvider', function($routeProvider) {
  ...
  }]);
  </code></pre>
  
  <p>I keep getting the console error:</p>
  
  <p><strong>ReferenceError: Can't find variable: angular</strong></p>
  
  <p><strong>globalcode                        - myApp.js:2</strong></p>