I have a simple HTML template like following
<p>{{data.id}}</p>
And can I just compile it with a data object to a string, I do not want to bind it with any scope.
Like
var data = {id:123};
var result = $compile(html)(data);
Thanks!
Added Plunker here.