Reputation: 3
How can I use popover via javascript in angularjs module with ui.bootstrap?
I am looking a solution like $modal service.
Thanks for your help.
Upvotes: 0
Views: 1075
Reputation: 8832
AngularJS is a declarative framework. It's a bad style to use imperative behavior like calling a function when a event happen.
You can get what you want with a new directive, for your special case "image that popover a text when mouseenter". Refer to this Create Hoverable popover using angular-ui-bootstrap
Upvotes: 0