Angular UI Bootstrap: Dynamic popover template ID
<p>Is it possible to use template with dynamic ID for Angular UI Popover?</p>

<p>For example:</p>

<pre><code>&lt;div ng-repeat="row in data"&gt;
    &lt;button class="btn" uib-popover-template="'myTemplate_{{row.id}}.html'" popover-trigger="mouseenter"&gt;View&lt;/button&gt;
    &lt;script type="text/ng-template" id="myTemplate_{{row.id}}.html"&gt;
        &lt;strong&gt;Name&lt;/strong&gt;: {{row.name}}&lt;br/&gt;
        &lt;strong&gt;Phone&lt;/strong&gt;: {{row.phone}}&lt;br/&gt;
        &lt;strong&gt;Email&lt;/strong&gt;: {{row.email}}
    &lt;/script&gt;
&lt;/div&gt;
</code></pre>

<p>When I mouseover the button Angular tries to fetch the template (eg myTemplate_1.html) from the server instead of using the ng-template.</p>

<p>Am I approaching this right? If not, what's the best way to assign dynamic html content to popovers?</p>

<p>Thanks.</p>