I am trying to use the Bootstrap tooltip in an app of mine. My app is using AngularJS Currently, I have the following:
for getting tooltips to refresh when the model changes, i simply use data-original-title
instead of title
.
e.g.
<i class="fa fa-gift" data-toggle="tooltip" data-html="true" data-original-title={{getGiftMessage(gift)}} ></i>
note that i'm initializing use of tooltips like this:
<script type="text/javascript">
$(function () {
$("body").tooltip({ selector: '[data-toggle=tooltip]' });
})
</script>
versions: