title: Retrieving the attribute value using jquery
body: <p>This is the code I have written with angular js. using jquery I want to get the      "data-index" attribute value</p>
  
  <pre><code>&lt;div class="claimed" droppable value="2"&gt;
  
          &lt;div class="phase1" ng-repeat="item in Phase1claimed"
              data-index="{{$index}}" draggable value="2"&gt;
              &lt;div class="ClaimedAccordion" accordion-title="{{item.name}}" unclaimhi="unclaimhi('1');"&gt;
  
                  {{item.newLabel}} &lt;br /&gt; {{item.desc}} &lt;br /&gt; {{item.effort}} &lt;br /&gt;
                  {{item.owner}} &lt;br /&gt; {{item.issues}} &lt;br /&gt; {{item.comments}} &lt;br /&gt;
                  {{item.dependency}} &lt;br /&gt; {{item.content}}
              &lt;/div&gt;&lt;br/&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>