Angular 1.2.6应用程序一直有效,直到我启用Batarang 0.4.3

时间:2014-02-07 02:50:27

标签: angularjs batarang

这是我启用Batarang时出现的错误:

Uncaught Error: [$injector:modulerr] Failed to instantiate module myApp due to:
Error: [$injector:modulerr] Failed to instantiate module myApp.services due to:
Error: [ng:areq] Argument 'fn' is not a function, got undefined
http://errors.angularjs.org/1.2.6/ng/areq?p0=fn&p1=not%20a%20function%2C%20got%20undefined
    at http://host.local/lib/angular/angular.js:78:12
    at assertArg (http://host.local/lib/angular/angular.js:1360:11)
    at assertArgFn (http://host.local/lib/angular/angular.js:1370:3)
    at annotate (http://host.local/lib/angular/angular.js:3016:5)
    at Object.$provide.(anonymous function) [as service] (<anonymous>:693:26)
    at http://host.local/lib/angular/angular.js:3621:37
    at Array.forEach (native)
    at forEach (http://host.local/lib/angular/angular.js:302:11)
    at loadModules (http://host.local/lib/angular/angular.js:3608:5)
    at http://host.local/lib/angular/angular.js:3615:40
http://errors.angularjs.org/1.2.6/$injector/modulerr?p0=myApp.services&p1=E…0at%20http%3A%2F%2Fhost.local%2Flib%2Fangular%2Fangular.js%3A3615%3A40
    at http://host.local/lib/angular/angular.js:78:12
    at http://host.local/lib/angular/angular.js:3642:15
    at Array.forEach (native)
    at forEach (http://host.local/lib/angular/angular.js:302:11)
    at loadModules (http://host.local/lib/angular/angular.js:3608:5)
    at http://host.local/lib/angular/angular.js:3615:40
    at Array.forEach (native)
    at forEach (http://host.local/lib/angular/angular.js:302:11)
    at loadModules (http://host.local/lib/angular/angular.js:3608:5)
    at createInjector (http://host.local/lib/angular/angular.js:3548:11)
http://errors.angularjs.org/1.2.6/$injector/modulerr?p0=myApp&p1=Error%3A%2…or%20(http%3A%2F%2Fhost.local%2Flib%2Fangular%2Fangular.js%3A3548%3A11)

在此之前没有错误,应用程序正常工作。我需要包含使用Batarang的东西吗? Chrome网上应用店中关于Batarang的一些最新评论是,它现在不起作用,可能是由于ng-route。

0 个答案:

没有答案