ui.bootstrap deforms the <progress> HTML tag

喜夏-厌秋 提交于 2019-12-05 06:08:37

I just ran into this same issue. A simple workaround is to use ng-non-bindable which is a standard angualr directive. The drawback is you can't use any angular directives or bindings within the progress element.

<progress ng-non-bindable></progress>

I am not sure if I understand your question or which version of uiBootstrap you are using.

The directive should be:

<div ng-controller="MainCtrl">
        <progressbar value="55"></progressbar>
</div>

I changed the version of uiBootstrap and included the necessary bootstrap.min.css in this forked Fiddle and everything seems to work fine. (look at external resources)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!