I'm stuck with an inception propblem :
<!-- html -->
<div class="well well-small" ng-bind-html="annotation"></div>
--
//Javascript
$scope.annotation = $scope.content;
for (it in words) {
var tooltip = '<ul>' +
'<li>' + words[it].info + '</li>' +
'<li>' + words[it].name + '</li>' +
'<li>' + words[it].lol + '</li>' +
'</ul>';
$scope.annotation = $scope.annotation.replace(words[it].label, "<a tooltip-html-unsafe='" + tooltip + "'>" + words[it].label + "</a>");
}
So basically, annotation get a string, and I loop in 'words' to replace expressions presents in 'annotation' by the same but with a tooltip containing a list (ul) of informations.
Yet, even if the content appear, with words underlined in blue (like a link) I cannot find the tooltip.
Anyone knows where my problem would be ?
Thanks a lot !