title: Failed to instantiate module ngRoute
body: <p>why i have this error?
  this is my error:
   "Failed to instantiate module ngRoute"</p>
  
  <p>Details:</p>
  
  <p>"Uncaught Error: [$injector:modulerr] <a href="http://errors.angularjs.org/1.3.11/" rel="nofollow">http://errors.angularjs.org/1.3.11/</a>$injector/modulerr?p0=Rerp&amp;p1=Error%3A%2…gleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.3.11%2Fangular.min.js%3A17%3A350)"...</p>
  
  <p>and</p>
  
  <p>"Failed to instantiate module TestApp due to:
  Error: [$injector:modulerr] <a href="http://errors.angularjs.org/1.3.11/" rel="nofollow">http://errors.angularjs.org/1.3.11/</a>$injector/modulerr?p0=...)"</p>
  
  <p>and</p>
  
  <p>"Failed to instantiate module ngRoute due to:
  Error: [$injector:nomod] <a href="http://errors.angularjs.org/1.3.11/" rel="nofollow">http://errors.angularjs.org/1.3.11/</a>$injector/nomod?p0=ngR..."</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en" ng-app="TestApp"&gt;
  &lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"&gt;
    &lt;title&gt;Test&lt;/title&gt;
  
    &lt;!-- JQUERY --&gt;
    &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"&gt;&lt;/script&gt;        
  
    &lt;!-- BOOTSTRAP  --&gt;
    &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css"/&gt; 
    &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"&gt;     &lt;/script&gt;
  &lt;/head&gt;
  
      &lt;body ng-controller="MainCtrl"&gt;
        &lt;div class="main"&gt;
          &lt;div class="container" ng-view=""&gt;
        &lt;/div&gt;     
    &lt;/div&gt;  &lt;!-- fine main --&gt;
  
   &lt;!-- ANGULAR --&gt;
   &lt;script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js"&gt;&lt;/script&gt;
   &lt;script scr="//ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular-route.js"&gt;&lt;/script&gt;
  &lt;script src="app.js"&gt;&lt;/script&gt;  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>APP.JS:</p>
  
  <pre><code>var TestApp = angular.module('TestApp', ['ngRoute']);
  var configuration = {
    appPartialPath: "/partial/",
    appApiEntryPoint: "/api/"
   };
  
   TestApp.config(['$routeProvider', function ($routeProvider) {
      $routeProvider
              .when('/moduli', {
                  templateUrl: configuration.appPartialPath + 'moduli.html',
                  controller: 'ModuliCtrl'
              })
  
              .otherwise({
                  redirectTo: '/',
                  controller: 'MainCtrl'
              });
  }]);
  
   /* CONTROLLER MAIN FORM */
   TestApp.controller('MainCtrl', function ($scope) {
      console.log("APP STARTED");
   });﻿
  </code></pre>