Html file as content in Bootstrap popover in AngularJS directive
问题 I have an Angular directive to handle Bootstrap popovers as shown in the code below. In my directive I'm setting the popover content to a HTML string, which I think is ugly. What I wanna do is to use an "template.html" file instead of HTMLstring. In that way I will be able to use the same directive with different template files depending on which type of popover I wanna show. That's my plan anyway. So, how do I in the best way load html code from my template.html and use it instead of the