I want to modify the icon (e.g., plus, minus) when clicking on an expand-collapse accordion. Currently, I am using the Font Awesome
class for icons. While I know it can be easily achieved with jQuery, I'm wondering if there is a way to do this in AngularJS. Any suggestions would be appreciated.
Here's what the HTML looks like:
<a class="accordion-toggle" data-toggle="collapse" href="#collapseOne{{test}}">
Test
</a>