我正在关注AngularJS -UI 教程以及我坚持的第一个示例。
我正在尝试使用一个简单的工具提示,我已经包含了所有需要的 js 文件,但是 angularJS-ui 模块抛出了一个异常,说不存在名为工具提示的函数。我还在主模块中包含了“ui”模块,但仍然无法正常工作。
Error: ui-jq: The "tooltip" function does not exist
at Object.compile (http://localhost:8080/js/lib/angular/ui/angular-ui.js:452:15)
at applyDirectivesToNode (http://localhost:8080/js/lib/angular/angular.js:4047:32)
at compileNodes (http://localhost:8080/js/lib/angular/angular.js:3794:14)
at compileNodes (http://localhost:8080/js/lib/angular/angular.js:3799:14)
at compileNodes (http://localhost:8080/js/lib/angular/angular.js:3799:14)
at compileNodes (http://localhost:8080/js/lib/angular/angular.js:3799:14)
at compileNodes (http://localhost:8080/js/lib/angular/angular.js:3799:14)
at compileNodes (http://localhost:8080/js/lib/angular/angular.js:3799:14)
at compile (http://localhost:8080/js/lib/angular/angular.js:3739:29)
at http://localhost:8080/js/lib/angular/angular.js:932:9 <a title="ahaaaaaaaa" ui-jq="tooltip" href="">
enter code here
提前感谢您的帮助。