Edit in JSFiddle

customDirectives = angular.module('customDirectives', []);
customDirectives.directive('customPopover', function () {
    return {
        restrict: 'A',
        template: '<span>{{label}}</span>',
        link: function (scope, el, attrs) {
            scope.label = attrs.popoverLabel;
            $(el).popover({
                trigger: 'click',
                html: true,
                content: attrs.popoverHtml,
                placement: attrs.popoverPlacement
            });
        }
    };
});

angular.module('CustomComponents', ['customDirectives']);
<div ng-app="customDirectives">
    <div> <span custom-popover popover-html="Some Popover Text" popover-placement="bottom" popover-label="Label"></span>

    </div>
</div>

              
            
          
            
              

External resources loaded into this fiddle: