title: Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.2.16
body: <p>As soon as I add this line</p>
  
  <pre><code>&lt;html lang="en" ng-app="myApp"&gt;
  </code></pre>
  
  <p>I am getting this error</p>
  
  <pre><code>Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.2.16/$injector/modulerr?p0=mctApp&amp;p1=Error%3A…rg%2F1.2.16%2F%24injector%2Fnomod%3Fp0%3DmctApp%0A%20%20%20%20at%20Error%2...&lt;omitted&gt;...1) 
  </code></pre>
  
  <p>I have added these scripts</p>
  
  <pre><code>&lt;script type="text/javascript" src="/resources/js/lib/angular.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/resources/js/lib/angular-route.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/resources/js/lib/angular-resource.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Javascript app code</p>
  
  <pre><code>angular.module('myApp', []).config(mctRouter);
  
  function mctRouter($routeProvider) {
  
      $routeProvider
          .when('/', {
              templateUrl: 'home.jsp'
          });
  }
  </code></pre>