aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nsPopover.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nsPopover.js b/src/nsPopover.js
index d43dc4a..c4626dc 100644
--- a/src/nsPopover.js
+++ b/src/nsPopover.js
@@ -11,6 +11,7 @@
module.directive('nsPopover', function($timeout, $templateCache, $q, $http, $compile, $document) {
return {
restrict: 'A',
+ scope: true,
link: function(scope, elm, attrs) {
var options = {
template: attrs.nsPopoverTemplate,