我在使用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
有什么问题 !