Replaced angular-bootstrap with angular-bootstrap-jbruni, a custom implementation supporting popover templates.