Search code examples
angularjstooltip

Is it possible to create a tooltip of directive in AngularJS?


Hi is it possible to create a tooltip of which the content is an AngularJS directive? Meaning that the tooltip contains not only texts (like a normal tooltip), but some SVG graphs as well. The use case will be the same, say, the user mouses-over an element, and instead of showing some texts, it's now showing some graphs.


Solution

  • You can use angular-bootstrap popover directive with custom template. You can read here