Question

I'm using Angular UI Bootstrap accordion with templates. I'm wanting to know how I can replace the template that's injected by the accordion directive without modifying the UI library itself? Can I override the injection of the template somehow?

Thanks in advance

Sean

Was it helpful?

Solution

I ended up just adding a template after the bootstrap library. From there I was able to do anything I wanted. See this post

OTHER TIPS

Yes you can but you need to override the class that the angular ui library have. In the css files, but not only, you can find a very precise explanation of every class that the accordion uses, if rewrite the class of your interest in another css file, your attribute override the previous one.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top