0

Any tip on how to set conditional style of angular bootstrap directive accordion-heading without doing changes in original .js? Adding ng-style or ng-class does not have any effect.

NOTE: I want to avoid setting styling on the div within accordion-heading.

Ismar Slomic
  • 5,315
  • 6
  • 44
  • 63

1 Answers1

0

I solved my case by setting ng-class on accordion-group directive, which applied conditional styling for each heading.

I also realized that angular bootstrap templates can be customized easily. Follow these links:

Community
  • 1
  • 1
Ismar Slomic
  • 5,315
  • 6
  • 44
  • 63