I have this function:
function make(place)
{
place.innerHTML = \"somthing\"
}
I used to do this with plain JavaScript and html:
Use a binding, like in this example:
Search Manager
var ViewModelStructure = function () {
var self = this;
this.SearchManager = function (search) {
console.log(search);
};
}();