我在下面在我的HTML代码片段:角UI引导酥料饼W/HTML不正常
<a ng-href="#" popover popover-template="views/popovers/cu.html" popover-trigger="click" popover-placement="top">
<img ng-src="{{chat.avatar}}" width="50" height="40">
</a>
点击a
标签不会触发酥料饼。 Popover在我的应用程序中没有HTML,但没有。
我已经基本上复制从这里文档的“酥料饼与模板”部分:https://angular-ui.github.io/bootstrap/#/popover
但它仍然无法正常工作,甚至在例如不之上。
怎么了?
当你有''酥料饼,template''属性,也''NG-HREF =“#你不需要''popover''属性“''没有必要 –
没有区别。甚至在我添加它之前它还没有工作。 – Noah
当你移除''ng-href =“#”''时它有效吗? –