Tooltip styling
Is there a way to add background colour style to a tooltip? I'm using the tooltip for svg so I have to add it to the body. My problem is that I cannot set the background colour programatically.
Sure, you can change bootstrap's CSS and / or provide a custom template: https://github.com/angular-ui/bootstrap#customize-templates
I'm not sure that it would help, I'd like to have different background colors for the same template. I can use a scope variable in my controller something like "background-color: #c00" as tooltip scope inherits from the parent, then add the variable to my template, but I find it a bit hard to understand and follow the scope chains. I was thinking more about adding a new parameter to the tooltip as background-color or maybe style. What do you think? Thank you