this maybe too late but here's how to use a angular-ui-bootstrap-popover with a custom template:
Note: you need do download a custom pull-request from angular-ui-bootstrap since the current version 0.12 doesn't support templates for popover hopefully this will be supported in 0.13.
then you can do something like this:
Popover With Template
notice: the directive is not popover anymore it's popover-window.