I've been trying to solve this problem for a while now. I came across a similar post, but it was left unanswered. So, I decided to create my own post with a Plunkr example.
The issue I'm facing is that upon loading, the ui-tab always defaults to the Add Tab button. What I actually want is for the first element in the ui-tab ng-repeat to be active instead of the static Add Tab button.
<uib-tabset active="activeTabIndex">
<uib-tab ng-repeat="tab in tabs" heading="{{tab.title}}">Some content</uib-tab>
<uib-tab heading="Add a tab" ng-click="addTab()" >Add a tab</uib-tab>
</uib-tabset>
https://plnkr.co/edit/XrYSKLdyN1cegfcdjmkz?p=preview
Could anyone provide guidance on how to achieve this? I've been stuck on this issue for some time and would appreciate any help.
Thank you,