I'm attempting to use ui-bootstrap's collapse on an ng-repeat list of items. I've added ui.bootstrap to my module, and worked out this html:
<div class="title">Things <a class="collapse" ng-click="isThingsCollapsed = !isThingsCollapsed">+</a></div>
<div collapse="isThingsCollapsed">
<div ng-repeat="thing in things">{{thing.displayName}}</div>
</div>
Everything looks like it should work, even when click the link I see the 'collapsing' in the html going from:
<div collapse="isThingsCollapsed" style="height: 81px;">
to:
<div collapse="isThingsCollapsed" style="height: 0px;">
But am seeing nothing actually collapse. Everything stays where it was on the screen. Any ideas?