version:ui-bootstrap-tpls-2.5.0.min.js
I am facing issue in loading tabs defined in external html file. In index.html file I have referred the tab which is defined in the external template.
<div class="col-lg-12 col-xs-12 col-sm-12 col-md-12 no-padding" template="Scripts/tpl/optionTab.tpl.html" templateUrl="Scripts/tpl/optionTab.tpl.html" ></div>
I have following example code defined in file Scripts/tpl/optionTab.tpl.html
<uib-tabset active="active">
<uib-tab index="0" heading="Static title">Static content</uib-tab>
<uib-tab index="$index + 1" ng-repeat="tab in tabs" heading="{{tab.title}}" disable="tab.disabled">
{{tab.content}}
</uib-tab>
<uib-tab index="3" select="alertMe()">
<uib-tab-heading>
<i class="glyphicon glyphicon-bell"></i> Alert!
</uib-tab-heading>
I've got an HTML heading, and a select callback. Pretty cool!
</uib-tab>
The above code works fine if i add it directly into the index.html file i.e without referring the same from external template. Can anyone please guide as what is the issue here ? There is no error in console. i have tried template, templatUrl, ng-include but nothing worked.