angularjs – yeoman grunt错误:[$injector:modulerr]无法实例化模块ui.router

前端之家收集整理的这篇文章主要介绍了angularjs – yeoman grunt错误:[$injector:modulerr]无法实例化模块ui.router前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在使用ui-router时遇到了问题
自耕农咕噜咕噜.

如果我跑

grunt serve

该脚本有效

grunt

我有:

Connected on socket um1BuGgogBUojHlvIawT with id 77936474
Chrome 30.0.1599 (Linux) Controller: MainCtrl should attach a list of awesomeThings to the scope Failed
    Error: [$injector:modulerr] Failed to instantiate module browserApp due to:
    Error: [$injector:modulerr] Failed to instantiate module ui.router due to:
    Error: [$injector:nomod] Module 'ui.router' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
    http://errors.angularjs.org/1.2.16/$injector/nomod?p0=ui.router
        at /home/whisher/browser/app/bower_components/angular/angular.js:78:12

有什么问题 !

原文链接:https://www.f2er.com/angularjs/140980.html

猜你在找的Angularjs相关文章