我不知道为什么 angular-velocity 模块没有初始化,尽管我包含了这里写的所有必需的脚本(https://github.com/cgwyllie/angular-velocity)
这是我的 HTML index.html
<!DOCTYPE html>
<html lang="en" ng-app="myapp">
<head>
<meta charset="utf-8">
<title>MyApp</title>
</head>
<body>
<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/jquery/jquery-ui.min.js"></script>
<script src="lib/angular.js/angular.min.js"></script>
<script src="lib/velocity/jquery.velocity.min.js"></script>
<script src="lib/velocity/velocity.ui.min.js"></script>
<script src="lib/velocity/angular-velocity.min.js"></script>
<script src="app.js"></script>
</body>
</html>
这是我的应用程序,js
var app = angular.module('myapp', ['angular-velocity']);
通过运行它,我在 chrome 控制台中收到以下错误。
Failed to instantiate module myapp due to:
Error: [$injector:modulerr] .....
有人可以向我解释为什么这个模块无法初始化吗?