I am trying to create tooltip
for first row of a table created through ng-repeat.
But tooltip is not rendering.
HTML
<tr ng-repeat="item in govtFiltered>
<td class="name" data-toggle="tooltip" data-content="{{item.hospitalName}}" title="{{item.hospitalName}}"></td>
</tr>
<script>
$(document).ready(function () {
$('[data-toggle="tooltip"]').tooltip();
});
</script>
See my answer here.
Source-code: here.
The idea is to use a directive: