I am working on the angular bootstrapUI accordion, I need to catch the toggle event for each section, for example, in each header of section, I have a arrow, when it is open the arrow-down will show,and other arrows in other sections will show arrow-right.something like this:
<accordion-group is-open="true" ng-repeat="destination in mileage.destionations">
<accordion-heading>
<span ng-class="{'fa-chevron-down': openEvent, 'fa-chevron-right': !openEvent">Toggle Me</span>
</accordion-heading>
<div class='accordion-section'>
Main content here
</div>
</accordion-group>
As you see,How can I toggle the class fa-chevron-down and fa-chevron-right for each section in the accordion-group?