I have been trying to implement an Accordion in my angular project by sending HTML structure from a controller. However, despite following the documentation closely, the Accordion is not displaying as expected. Here is a snippet of the code I am using:
var final='<uib-accordion close-others="oneAtATime"><uib-accordion-group heading="Static Header, initially expanded" is-open="status.isFirstOpen" is-disabled="status.isFirstDisabled">This content is straight in the template.</uib-accordion-group>'
When trying to display the data in the view like this:
<div ng-bind-html="final"></div>
I am encountering issues with the accordion not rendering properly on the view side. Can someone please assist me in understanding why this might be happening and help me find a solution?