I have the snippet below in my 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>
Clicking the a
tag does not trigger the popover. Popover's in my application work without HTML, but not with.
I've essentially copied the "Popover with Template" section from the docs here: https://angular-ui.github.io/bootstrap/#/popover
But it still does not function as it does in the example above.
What's wrong?
popover
attribute when you have thepopover-template
attribute, alsong-href="#"
isn't necessary – Betty St Jun 19 '15 at 19:58ng-href="#"
? – Betty St Jun 19 '15 at 20:00a
element inside another element with ang-controller
atribute? – Aprendiz Jun 19 '15 at 20:03