title: How can i parse the id into my variable in angular?
body: <p>How can i parse the id key into my angular js variable? I want to convert the following PHP code into angular js.</p>
  
  <pre><code>&lt;?php foreach($workTypes as $id =&gt; $name) {  ?&gt;
  &lt;td class='pushCentre'&gt;&lt;?php echo $day['userData']['quantities'][$id]; ?&gt;&lt;/td&gt;
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>My try in Angular JS v1</p>
  
  <pre><code>    &lt;td ng-repeat='(id, name) in workTypes' class='pushCentre'&gt;
  {{ day.userData.quantities.{{id}} }}&lt;/td&gt;
  </code></pre>