How get dynamic JSON data using chekboxes in Angular JavaScript?
<p>I am struggling so much and find so many links and articles but can't get solution. I have an array like that</p>
<pre><code>$scope.cols=[
   {&quot;dpname&quot;:&quot;partname&quot;,&quot;search&quot;:'',&quot;qparam&quot;:''},
   {&quot;dpname&quot;:&quot;partid&quot;,&quot;search&quot;:'',&quot;qparam&quot;:''},
   {&quot;dpname&quot;:&quot;partdesc&quot;,&quot;search&quot;:'',&quot;qparam&quot;:''}
]; 
</code></pre>
<p>I am displaying array using ng-repeat as well as I repeat checkboxes also. When I click paricular check box one text box should open. The given ng-model value in text box is replaced by that particular check box</p>
<p>Here I attached my fiddle link which I tried:
<a href="http://jsfiddle.net/soumyagangamwar/3dygzn8e/" rel="nofollow noreferrer">http://jsfiddle.net/soumyagangamwar/3dygzn8e/</a></p>