Collapse / expand bs-collapse programmatically in controller

Is there a way to collapse / expand an angular-strap collapse element in a controller?

I want to collapse an element bs-collapse

when clicking on its content. To do this, I need to manage the state of the element bs-collapse

. I expect a service $collapse

like bs-modal

that has angular -strap does not provide this.

+3


source to share





All Articles