mgcrea/angular-strap — pull request #17 by djsmith42 (2013-01-08 22:03:02+00:00)
Title: Fix duplicated items in bs-popover with ng-repeat

For some reason, bootstrap is calling the content() function twice. This
doesn't necessarily produce any ill effects, but if your bs-popover
partial contained an ng-repeat, the ng-repeat would be replicated once
for every element in the collection.

For example, this:

$scope.things = [{name: "A"}, {name: "B"}, {name: "C"}];

{{thing.name}}

Would yield a popover that appeared like this:

- A
- A
- A
- B
- B
- B
- C
- C
- C

But it should have appeared like this:

- A
- B
- C