简体   繁体   English

为什么我的angular-bootstrap选项卡不渲染?

[英]Why are my angular-bootstrap tabs not rendering?

Here is the site where you can view my angular app and also view source on it: http://clearsoftinc.com/dist/ 您可以在这里查看我的角度应用程序,也可以查看其源代码: http : //clearsoftinc.com/dist/

There should be three blue tabs on the screen. 屏幕上应该有三个蓝色选项卡。 I'm using the tabs directive from the ui-bootstrap directive for tabs ( http://angular-ui.github.io/bootstrap/ ). 我将ui-bootstrap指令中的tabs指令用于选项卡( http://angular-ui.github.io/bootstrap/ )。 I used to have it working and now for some reason its broken. 我曾经让它工作,现在由于某种原因它坏了。 I have tried for two days to fix it, with no luck. 我已经尝试了两天来修复它,但是没有运气。

I have also posted a zip of the source code here: http://www.clearsoftinc.com/Archive.zip 我还在这里发布了源代码的zip: http : //www.clearsoftinc.com/Archive.zip

In controller.js , change controller.js ,更改

angular.module('clearsoftDemoApp', [])

to

angular.module('clearsoftDemoApp')

If 2nd parameter of module() is presented, it defines a new application instead of getting the existing one defined in app.js . 如果提供了module()第二个参数,它将定义一个新应用程序,而不是获取app.js定义的现有应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM