RainbowSunsets
RainbowSunsets

Reputation: 15

What version of UI Bootstrap works with Angular 1.6.3?

I am using AngularJS v1.6.3 and am trying to find a version of UI.bootstrap that works with it (in terms of Bootstrap's Javascript functionality, such as popover).

This Plunker uses UI.Bootstrap v0.12.0 and the popover works: http://plnkr.co/edit/6ris13k1kZCGLvO7CP4B?p=preview

This Plunker uses UI.Bootstrap v2.5.0 and the popover does not work: http://plnkr.co/edit/NS8OLrKXCfKdHrQ8TRwK?p=preview

This is the popover code that does not work in the latter:

<p><a href="#" popover-placement="right" popover="On the Right!">Click me and see popover on the right.</a></p>

I suspect I am doing something wrong. Thanks!

Upvotes: 1

Views: 1464

Answers (1)

Hoa
Hoa

Reputation: 3207

In newer versions of Angular UI Bootstrap, the directive name has been changed from popover to uib-popover. This is a fork of your 2nd Plunker in which the popover is displayed on the right of the link.

You can find the new directive name here

Upvotes: 3

Related Questions