Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise

I have a uib-tab with a heading an an ng-click method that loads the actual content by switching a boolean variable as follows.

<uib-tab class="height-full">
    <uib-tab-heading ng-click="vm.loadTab(2)">
                Rights
     </uib-tab-heading>
      <div>
      <div ng-if="vm.active_tab == 2" ng-include="'../partials/partialview.html'"></div>
      </div>
</uib-tab>

This doesn't have consistent behaviour, some times the loadTab it's not executed at all and the tab is indeed been loaded, how can I solve this ? can I prevent the tab-content from been loaded and wait for the loadTab to execute first.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.