【发布时间】:2013-06-11 13:17:53
【问题描述】:
我目前正在使用 angular-seed-play,它非常方便,但在配置更多角度依赖项时遇到问题。
我想使用 Angular UI Bootstrap,但它不适合我。
我的 app.js 本质上是
define('angular', ['webjars!angular-locale_en-gb.js'], function() {
return angular;
});
require(['angular', './controllers', './directives', './filters', './services', 'webjars!angular-ui.js'],
function(angular, controllers) {
angular.module('myApp', ['myApp.filters', 'myApp.services', 'myApp.directives', 'ui.bootstrap']).
config(['$routeProvider', function($routeProvider) {
....
}]);
这个结果
Uncaught No WebJar dependency found for angular-ui-bootstrap. Please ensure that this is a valid dependency
谁能指出我正确的方向?
【问题讨论】:
标签: angularjs playframework-2.0 requirejs webjars