title: Uncaught Error: [$injector:modulerr with angualrJs when i use routing
body: <p>this is part of my problem = <a href="https://jsfiddle.net/2vrz38d6/" rel="nofollow">https://jsfiddle.net/2vrz38d6/</a>
  it contain just the js part open the console to see what i have </p>
  
  <p>i get confused to solve this error<br>
  Error: $injector:modulerr
  Module Error</p>
  
  <pre><code>Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.3.10/$injector/modulerr?p0=myApp&amp;p1=Error%3A%…3A9641%2Fassets%2Fglobal%2Fplugins%2Fangularjs%2Fangular.min.js%3A38%3A435)
  </code></pre>
  
  <hr>
  
  <p>My Error happen with routing in angularJs 
  the error which i took it is : 
  <a href="https://docs.angularjs.org/error/$injector/modulerr?p0=myApp&amp;p1=Error:%20%5B$injector:unpr%5D%20http:%2F%2Ferrors.angularjs.org%2F1.3.10%2F$injector%2Funpr%3Fp0%3D%2524routeProvider%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20http:%2F%2Flocalhost:9641%2Fassets%2Fglobal%2Fplugins%2Fangularjs%2Fangular.min.js:6:417%0A%20%20%20%20at%20http:%2F%2Flocalhost:9641%2Fassets%2Fglobal%2Fplugins%2Fangularjs%2Fangular.min.js:38:307%0A%20%20%20%20at%20d%20(http:%2F%2Flocalhost:9641%2Fassets%2Fglobal%2Fplugins%2Fangularjs%2Fangular.min.js:36:308)%0A%20%20%20%20at%20Object.e%20%5Bas%20invoke%5D%20(http:%2F%2Flocalhost:9641%2Fassets%2Fglobal%2Fplugins%2Fangularjs%2Fangular.min.js:37:64)%0A%20%20%20%20at%20d%20(http:%2F%2Flocalhost:9641%2Fassets%2Fglobal%2Fplugins%2Fangularjs%2Fangular.min.js:35:301)%0A%20%20%20%20at%20http:%2F%2Flocalhost:9641%2Fassets%2Fglobal%2Fplugins%2Fangularjs%2Fangular.min.js:35:425%0A%20%20%20%20at%20s%20(http:%2F%2Flocalhost:9641%2Fassets%2Fglobal%2Fplugins%2Fangularjs%2Fangular.min.js:7:302)%0A%20%20%20%20at%20g%20(http:%2F%2Flocalhost:9641%2Fassets%2Fglobal%2Fplugins%2Fangularjs%2Fangular.min.js:35:202)%0A%20%20%20%20at%20Ob%20(http:%2F%2Flocalhost:9641%2Fassets%2Fglobal%2Fplugins%2Fangularjs%2Fangular.min.js:38:435" rel="nofollow">my Error page here </a></p>
  
  <p>my code is :</p>
  
  <pre><code>(function () {
      var MyApp = angular.module('myApp');
  
  
      MyApp.config(function ($routeProvider) {
          $routeProvider
              .when('/', {
                  templateUrl: 'views/expenses.html',
                  controller: 'CurriculumController'
              })
  
  
  
         .otherwise({
             redirectTo: '/'
  
         });
  </code></pre>
  
  <p>and the controller </p>
  
  <pre><code>        MyApp.controller('CurriculumController', ['$scope', '$rest', function ($scope, $rest) { 
  //some stuf here 
  </code></pre>
  
  <p>for my script angular file :
  in the first i have this </p>
  
  <pre><code> &lt;script src="/assets/global/plugins/angularjs/angular.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and in the middle of the project i have 
  the file of my angular apps </p>
  
  <pre><code>&lt;script src="/Scripts/NGModel/Curriculum/Curriculum.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and after that the file of the routing part for angularjs</p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular-route.min.js"&gt;&lt;/script&gt;
  </code></pre>