css - AngularJS Twitter bootstrap 3 Navtab class removed -
i wanted add styling bootstrap tabs dynamically via angularjs (computed values) found class reference angular scope 'class="{{iscomplete1}}"' removed. these computed values display expected when not part of class
what right way add class nav-tab dynamically?
<ul class="nav nav-tabs"> <li class="{{iscomplete1()}}"><a href="#welcome" data-toggle="tab">welcome</a></li> <li class="{{iscomplete2()}}"><a href="#step1" data-toggle="tab">step 1</a></li>
thanks
my first thought bootstrap issue simple angularjs issue
all needed use ng-class directive i.e. ng-class="iscomplete1()".
Comments
Post a Comment