title: AngularJS error injector modulerr
body: <p>I'm trying to run this AngularJS example of a tutorial and the console says: Uncaught Error: [$injector:modulerr] </p>
  
  <p>Where is the problem?</p>
  
  <pre><code>&lt;div class="container" data-ng-app="demoApp"&gt;
      &lt;div&gt;
          &lt;h3&gt;Adding Module Configuration and Routing&lt;/h3&gt;
  
          &lt;div data-ng-view=""&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
    &lt;script src="angular-1.2.3/angular.min.js"&gt;&lt;/script&gt;
    &lt;script src="angular-1.2.3/angular-route.min.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
      var demoApp = angular.module('demoApp', ['ngRoute']);
  
      demoApp.config(function ($routeProvider) {
          $routeProvider
              .when('/',
                  {
                      controller: 'SimpleController',
                      templateUrl: urlBase + '7. Partial1.html'
                  })
  
              .when('/partial2',
                  {
                      controller: 'SimpleController',
                      templateUrl: 'Partial/view1.html'
                  })
              .otherwise({ redirectTo: '/' });
      });
  
      demoApp.controller('SimpleController', function ($scope) {
          $scope.customers = [
              { name: 'Dave Jones', city: 'Phoenix' },
              { name: 'Jamie Riley', city: 'Atlanta' },
              { name: 'Heedy Wahlin', city: 'Chandler' },
              { name: 'Thomas Winter', city: 'Seattle' }
          ];
      }); 
  &lt;/script&gt;
  </code></pre>