Is there a way in Angular UI to have an accordion within an accordion? I want the top level list to all be closed until one item is selected, and then to accordion open to show another accordion list that will also open and close.
With my current implementation, when I select the inner list item both accordions are triggered, leaving the inner one closed. Aren't they in their own $scopes?
This question is similar, but for jQuery: accordion within accordion collapses parent accordion
<accordion>
<accordion-group ng-repeat="folder in folders | orderBy:'name' " ng-click="select_folder(folder)">
<accordion-heading>
{{ folder.name }}
</accordion-heading>
<accordion>
<accordion-group ng-repeat="file in folder.files">
<accordion-heading>
{{ file.name }}
</accordion-heading>
{{ file.info }}
</accordion-group>
</accordion>
</accordion-group>
</accordion>