I am using angular js ui.bootstrap in my project and I want to add tabs using ui bootstrap. I use the ui.bootstrap directive for tabs. But inside this angular ui bootstrap tag there is no ul li content.
<uib-tabset active="active"> <uib-tab index="0" heading="Static title 1">Static content 1</uib-tab> <uib-tab index="0" heading="Static title 2">Static content 2</uib-tab> <uib-tab index="0" heading="Static title 3">Static content 3</uib-tab> </uib-tabset>
I want to add a span tag inside a tag in tabs. This is the result I want.
<li ng-class="{active: active, disabled: disabled}" index="0" heading="Static title 1" class="ng-isolate-scope active"> <a href="" ng-click="select()" uib-tab-heading-transclude="" class="ng-binding"> <span class="badge">5</span>Static title 1 </a> </li>
If anyone knows how to do this, please help me find a solution.
Thanks in advance.
source share