mgcrea/angular-strap — pull request #274 by tomerye (2013-10-09 18:44:16+00:00)
Title: fix the memory leak when the content contain directive with isolated scope

1. create new child scope from the given one
2. destroy the child scope when the popover is hidden

when the content contain template with directive with isolated scope, the scope is not destroyed.

for example:

var popoverOptions = {
"content": "",
...
}

each time the popover is shown new scope is created and the old one is not destroyed.