search

Home  >  Q&A  >  body text

angular.js - How to output value in loop body in angular

<p role="tabpanel" class="tab-pane fade" ng-repeat="spine in spines" id="spine{$index}" aria-labelledby="spine{$index}-tab">
                </p>

This is a ridiculously wrong piece of code, but you should be able to understand what I want and how to get spine1, spine2, ...

天蓬老师天蓬老师2841 days ago585

reply all(1)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-05-15 17:00:52

    spine{{$index+1}}

    reply
    0
  • Cancelreply