0

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

user686483
  • 1,584
  • 6
  • 18
  • 29

2 Answers2

1

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

Community
  • 1
  • 1
user686483
  • 1,584
  • 6
  • 18
  • 29
0

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.

mautrok
  • 961
  • 1
  • 17
  • 41