This is a small list of nav tabs in my code, actually the list is long. So using ng-repeat would be helpful. Only problem I'm facing is that although the html for all list items is same, the name of each list item ( Mercedes, Ferrari, Red Bull, Williams) is different, and also each has a different id. So can I use ng-repeat at all? If not is there a shorter method for this, or do I have to write all the html for all the list items again and again?
<ul class="nav nav-tabs" role="tablist">
<li class="active"><a role="tab" href="#merc" data-toggle="tab">Mercedes</a></li>
<li><a role="tab" href="#ferr" data-toggle="tab">Ferrai</a></li>
<li><a role="tab" href="#red" data-toggle="tab">Red Bull</a></li>
<li><a role="tab" href="#wil" data-toggle="tab">Williams</a></li>
</ul>
<div class="tab-content" style="padding-bottom:50px; padding-top:20px">
<div class="tab-pane active" role="tabpanel" id="merc">
Some html
</div>
<div class="tab-pane active" role="tabpanel" id="ferr">
Some html
</div>
<div class="tab-pane active" role="tabpanel" id="wil">
Some html
</div>
</div>