Is there any way to render from a html string in knockout?
i.e
var html = ko.renderFromString('<p data-bind="text:name"></p>', {name:"Fred"});
It would be very convenient for what I'm doing.
$(".container").append(html);
$(".container").on("click", "p", function(e){
console.log(ko.dataFor(this));});