title: How to get the component's viewmodel from component's node in KnockoutJS
body: <p>I have a component named 'my-component':</p>
  
  <pre><code>ko.components.register('my-component', { 
  
      viewModel: function() {      
          return { title: 'title' };     
      },
  
      template: '&lt;div&gt;x&lt;/div&gt;'
  
  });
  </code></pre>
  
  <p>I'm using this component in the view like that:</p>
  
  <pre><code>&lt;my-component params=""&gt;&lt;/my-component&gt;
  </code></pre>
  
  <p>Is there any way to get the component's view-model related to this HTML node? ko.dataFor doesn't work:</p>
  
  <pre><code>ko.dataFor($('my-component').get(0)) // it doesn't return component's view model
  </code></pre>
  
  <p>Any thoughts?</p>