CLC-1896 - Limit the scope of the popoverDirective
https://jira.media.berkeley.edu/jira/browse/CLC-1896

Now we only bind to the $document when it's absolutely necessary.
Merge pull request #1393 from christianv/CLC-1896

CLC-1896 - Limit the scope of the popoverDirective