title: How to read data-bind property value from config file and bind i to view
body: <p>In knockout, I need to take the property and value to bind from a configuration file and bind it to view. How can I achieve that?</p>
  
  <p>e.g. </p>
  
  <pre><code>&lt;tbody data-bind="foreach: {data: data, as : 'tbData'}"&gt;
    &lt;!-- ko foreach: $parent.bindingProperties --&gt;
      &lt;input type="text" data-bind="value:tbData.spec"/&gt;
    &lt;!-- /ko --&gt;
  //some code
  &lt;/tbody&gt;
  </code></pre>
  
  <p>I need to read "value:tbData.spec" from js file. How can I write a suitable JS function and bind it to the view by calling it?</p>
  
  <p>The configuration file is a js file. The config file is like </p>
  
  <pre><code>bindingProperties : [{'value': 'tbData.spec'}]
  </code></pre>