I\'ve thoroughly searched through both StackOverflow and Google, but come up empty. So apologies in advance if this has been asked & resolved already.
NB
Also you can make use of 'template' options
$element.popover({ html: true, trigger: 'click', template: '', content: function() { return 'hello'; } });
Update MY_CLASS from you data-class attribute.