title: how to loop through a JSON string using ng-repeat
body: <p>I have a scenario where I have to loop through the JSON string in template. I tried these 2 solutions but none of them are working properly:
  1. Create a filter and pass it to ng-init:</p>
  
  <pre><code>&lt; div ng-init="var1 = (COL_FIELD | FormatJson)"&gt; 
  &lt;span ng-repeat="wut_detail in var1.wu_tester_detail"&gt; {{wut_detail}}&lt;/span&gt; &lt;/div&gt;
  </code></pre>
  
  <p>Above filter converts the string to JSON object properly, but ng-init seems to be working abnormally it doesn't refreshes data properly on search.</p>
  
  <p>Can anyone please help, how I can change the variable COL_FIELD to JSON object in the template without using ng-init.</p>