Binding HTML template to data in AngularJS -
i have simple html template following
<p>{{data.id}}</p> and can compile data object string, not want bind scope.
like
var data = {id:123}; var result = $compile(html)(data); thanks!
added plunker here.
Comments
Post a Comment