title: Angularjs ng-repeat item for tag attributes
body: <p>My question is how can I use <code>item</code> from <code>ng-repeat</code> on the same tag I am declaring <code>ng-repeat</code></p>
  
  <p>What I need (in some abstract template language):</p>
  
  <pre><code>{% for item in items %}
       &lt;li data-theme="{{ item.dataTheme }}"&gt;{{ item.name }}&lt;/li&gt;
  {% endfor %}
  </code></pre>
  
  <p>With angular I do not know how to access that <code>item.dataTheme</code></p>
  
  <pre><code>&lt;li data-theme="{{ item.dataTheme }}" ng-repeat="item in items"&gt;{{ item.name }}&lt;/li&gt;
  </code></pre>