由于以下原因无法实例化模块impp:错误:[$ injector:modulerr] http://errors.angularjs.org/1.5.8/$injector/modulerr?p0 = b ...)

时间:2018-01-20 16:05:24

标签: angularjs

我有时会面临以下错误: - 错误情景: - 当我按ctrl + f5或某个时候登录重定向到仪表板页面。

我的型号代码是: -

const imppApp = angular.module("impp", [
'tableSort'
,'ngStorage'
,'ngRoute',
'ngFileUpload',
'angular.chosen',
'btford.socket-io']).constant('imppAppConstant', {
   API_URL: "lumen/public",
   SITE_URL: window.location.origin+ "/" +window.location.pathname.split("/")[1] , //'/impp-frontend-v2',
// API_URL: "http://localhost/impp_lumen_app/public",
// SITE_URL:'http://localhost/impp-frontend-v2',
TOKEN: ""}); 

错误是: -     由于以下原因无法实例化模块impp:     错误:[$ injector:modulerr] http://errors.angularjs.org/1.5.8/ $ injector / modulerr?p0 = b ...)     enter image description here

0 个答案:

没有答案
相关问题