title: ng-init json Object
body: <p>I use angularjs (ng-init) and I want to assign value to variable as jsonObj.</p>
  
  <p>I try this one but it doesn't work.</p>
  
  <pre>ng-init="percentObj = [{ "value":40,"color":"#F5A623" },{ "value":60,"color":"#F5A623" }];</pre>
  
  <p>and another question
  I want to assign value like</p>
  
  <pre>percentObj = [{ "value": parseInt($scope.projectData[0].value),"color":"#F5A623" },{ "value":  parseInt($scope.projectData[0].value),"color":"#F5A623" }]</pre>
  
  <p>How to fix this problem??</p>
  
  <p>Thx</p>