diff --git a/src/popover/popover.js b/src/popover/popover.js index f6d027511f..d64e729eff 100644 --- a/src/popover/popover.js +++ b/src/popover/popover.js @@ -12,7 +12,7 @@ angular.module( 'ui.bootstrap.popover', [] ) templateUrl: 'template/popover/popover.html' }; }) -.directive( 'popover', [ '$compile', '$timeout', '$parse', function ( $compile, $timeout, $parse ) { +.directive( 'popover', [ '$compile', '$timeout', '$parse', '$window', function ( $compile, $timeout, $parse, $window ) { var template = '