title: angularjs "Uncaught Error: [$injector:modulerr]"
body: <p>I checked this 
  <a href="https://stackoverflow.com/questions/18287482/angularjs-1-2-injectormodulerr">AngularJS 1.2 $injector:modulerr</a> but it didnot solve my problem</p>
  
  <p>You can find my example here</p>
  
  <p><a href="http://jsbin.com/ziroq/1/edit?html,js,console" rel="nofollow noreferrer">http://jsbin.com/ziroq/1/edit?html,js,console</a></p>
  
  <pre><code>&lt;html ng-app="app"&gt;
  
  &lt;head&gt;&lt;/head&gt;
  
  &lt;body&gt;
      &lt;h1&gt;example 8&lt;/h1&gt; 
      &lt;p&gt;Changing views with routes and $routeProvider&lt;/p&gt;
      &lt;p&gt;you need angular-routes.min.js file to use $routeProvider&lt;/p&gt;
  
      &lt;div ng-view&gt;&lt;/div&gt;
  
  
      &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"&gt;&lt;/script&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular-route.min.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
    var app = angular.module('app', ['ngRoute']);
  
  app.config(function ($routeProvider) {
              $routeProvider.when('list', {
                  controller: MyController,
                  templateUrl: '/example-08-list.html'
              });
   });
  
    &lt;/script&gt;  
  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>