在我的 app.js 中,我包含了 flow 的依赖项
var myApp = angular.module('myApp',['ui.router', 'ngResource', 'flow']);
我已将 javascript 包含在我的索引文件中以按如下方式加载
<script type="text/javascript" src="//cdn.jsdelivr.net/flow.js/2.0.0b2/flow.js"></script>
我收到错误模块“流”不可用!
Uncaught Error: [$injector:modulerr] Failed to instantiate module myApp due to:
Error: [$injector:modulerr] Failed to instantiate module flow due to:
Error: [$injector:nomod] Module 'flow' 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.23/$injector/nomod?p0=flow