ue may be:</p>
<ul>
<li>A string. For example <code>&lt;div red-on-hover&gt;{{delete_str}}&lt;/div&gt;</code>.</li>
<li>A function which takes two arguments <code>tElement</code> and <code>tAttrs</code> (described in the <code>compile</code>
function api below) and returns a string value.</li>
</ul>
<h4 id="-templateurl-"><code>templateUrl</code></h4>
<p>This is similar to <code>template</code> but the template is loaded from the specified URL, asynchronously.</p>
<p>Because template loading is asynchronous