title: knockoutjs, custom bindings and knockoutjs templates (calling knockoutjs templates from custom bindings init method)
body: <p>I want to hook third party controls into knockoutjs and using custom bindings to join them together. So far it works fine. But there are few controls where I want to choose templates to 
  render controls. But could not find any way to call knockout js templates through javascript.</p>
  
  <p>Is it is possible.</p>
  
  <hr>
  
  <pre><code>&lt;div data-bind = "knockoutjs-text : data, label : labelText"&gt;&lt;/div&gt;
  
  // got following template in seperate file
  &lt;script type="text/html" id="person-template"&gt;
      &lt;h3 data-bind="text: name"&gt;&lt;/h3&gt;
      &lt;p&gt;Credits: &lt;span data-bind="text: credits"&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/script&gt;
  
  // my custom binding handler in seperate file
  ko.bindingHandlers.knockoutjs-text = {
  init: function(element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) {
      // now it want to call person-template from here and attached it to element
  
  
  }
  </code></pre>
  
  <p>};</p>
  
  <p>This is simple example for my case, My case to create user controls, b combining these two together. 
  If you think this example is not enough please let me know.</p>
  
  <p>Thanks,
  Daljit Singh </p>