is-open
attribute was added to the ui.bootstrap.popover
in v0.13.4. This repository will no longer be maintaned.
popoverToggle
directive allowing manual control over AngularUI's popovers
Download and include the popover-toggle.js
file after AngularJS on your page. You can use Bower:
bower install angular-popover-toggle
Declare a dependency on popoverToggle
in your module:
angular.module('YourModule', ['ui.bootstrap', 'popoverToggle']);
Now you can use popover-toggle
directive in addition to popover
and popover-template
directives:
<div ng-init="isPopoverOpen = true">
<span popover="Hello World!" popover-toggle="isPopoverOpen">There is a popover above me!</span>
</div>