Add class to accordion heading using AngularJS ui-bootstrap?
问题 I want use ng-class to conditionally add a class to the accordion-heading , but it appears that not even setting a class explicitly on the element gets preserved. I have this: <div accordion close-others="true"> <div ng-repeat="currItem in items" accordion-group> <div accordion-heading class="myClass">My Heading {{$index}}</div> <div class="accordion-inner myClass">asdf asdf asdf</div> </div> </div> And the fiddle: http://jsfiddle.net/Zmhx5/1/ When I inspect the accordion heading element, the