这是我用 Angular js 编写的代码。使用 jquery 我想获取“数据索引”属性值
<div class="claimed" droppable value="2">
<div class="phase1" ng-repeat="item in Phase1claimed"
data-index="{{$index}}" draggable value="2">
<div class="ClaimedAccordion" accordion-title="{{item.name}}" unclaimhi="unclaimhi('1');">
{{item.newLabel}} <br /> {{item.desc}} <br /> {{item.effort}} <br />
{{item.owner}} <br /> {{item.issues}} <br /> {{item.comments}} <br />
{{item.dependency}} <br /> {{item.content}}
</div><br/>
</div>
</div>