3

Angular 1.x and Angular 5 are running in our project together, I just upgrade Angular 5 to 7, leave the Angular 1.x part. I am trying to make 1.x and 7 work at the same time. That's where I got this problem,

error is :

Error: Failed to instantiate module $$UpgradeModule due to: [$injector:modulerr]

it says I probably have not installed ngRoute in my project, which I checked, I got everything ready to go. Have anyone know what's going on?

 <script src="angularJS/lib/angular.min.js"></script>
  <script src="angularJS/lib/angular-route.min.js"></script>

var app = angular.module('app.mojinshi', [
    'ngRoute',
    'ngResource',
    'ngSanitize',
    'treeControl',
    'oitozero.ngSweetAlert',
    'messageBusModule',
    'toastr',
    'smart-table',
    'ui.select'
]);
Mohamed Gara
  • 2,665
  • 3
  • 13
  • 19
jess
  • 31
  • 3

0 Answers0