Failed to instantiate module ngSanitize due to: TypeError: q is not a function #21
Description
Get below error:
angular.js:5062 Uncaught Error: [$injector:modulerr] Failed to instantiate module EMIEModule due to: Error: [$injector:modulerr] Failed to instantiate module ngSanitize due to: TypeError: q is not a function at k (http://localhost:8089/node_modules/angular-sanitize/angular-sanitize.min.js:6:259) at new <anonymous> (http://localhost:8089/node_modules/angular-sanitize/angular-sanitize.min.js:12:3) at Object.instantiate (http://localhost:8089/node_modules/angular/angular.js:5158:14) at provider (http://localhost:8089/node_modules/angular/angular.js:4968:36) at Object.provider (http://localhost:8089/node_modules/angular/angular.js:4960:16) at runInvokeQueue (http://localhost:8089/node_modules/angular/angular.js:5032:35) at http://localhost:8089/node_modules/angular/angular.js:5041:11 at forEach (http://localhost:8089/node_modules/angular/angular.js:387:20) at loadModules (http://localhost:8089/node_modules/angular/angular.js:5022:5) at http://localhost:8089/node_modules/angular/angular.js:5040:40 at http://localhost:8089/node_modules/angular/angular.js:138:12 at http://localhost:8089/node_modules/angular/angular.js:5062:15 at forEach (http://localhost:8089/node_modules/angular/angular.js:387:20) at loadModules (http://localhost:8089/node_modules/angular/angular.js:5022:5) at createInjector (http://localhost:8089/node_modules/angular/angular.js:4939:19) at doBootstrap (http://localhost:8089/node_modules/angular/angular.js:1962:20) at bootstrap (http://localhost:8089/node_modules/angular/angular.js:1983:12) at angularInit (http://localhost:8089/node_modules/angular/angular.js:1868:5) at HTMLDocument.<anonymous> (http://localhost:8089/node_modules/angular/angular.js:36426:5) at j (http://localhost:8089/node_modules/jquery/dist/jquery.min.js:2:27309)