问题:我无法加载ui-bootstrap-tpls.js
fromnode_modules
错误:[$injector:nomod] 模块 'angular-bootstrap' 不可用!您要么拼错了模块名称,要么忘记加载它。如果注册模块,请确保将依赖项指定为第二个参数。
'use strict';
export default require('angular')
.module('lazyApp', [
require('angular-ui-router'), 'angular-bootstrap',
// @TODO: It's a hack! https://github.com/ocombe/ocLazyLoad/issues/179
(() => {
require('oclazyload');
return 'oc.lazyLoad'
})(),
//require('angular-bootstrap',
/*
uncomment to move msg-store to bundle.js only instead
of putting it in both: 3.bundle.js and 4.bundle.js
*/
//require('commons/msg-store').name,
require('./pages/home/home.routing').name,
require('./pages/messages/messages.routing').name,
//require('./pages/solr/solr.routing').name
]);