Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ganarajpr
Created April 1, 2014 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ganarajpr/9923603 to your computer and use it in GitHub Desktop.
Save ganarajpr/9923603 to your computer and use it in GitHub Desktop.
(function () {
var common = angular.module("common");
common.directive( 'popoverIncludePopup', function () {
return {
restrict: 'EA',
replace: true,
scope: { title: '@', content: '@', placement: '@', animation: '&', isOpen: '&' },
templateUrl: 'partials/directives/popover.html'
};
});
common.directive( 'popoverInclude', [ '$tooltip', function ( $tooltip ) {
return $tooltip( 'popoverInclude', 'popover', 'click' );
}]);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment