I have a tooltip that takes raw javascript, for example I have this $scope var:
$scope.dynamicPopoverContent = "Hello, <b>World!</b>";
that I can display by passing it to the popover directive like so:
popover="{{dynamicPopoverContent}}"
I cannot readily use templates because I am using an old version of angular-bootstrap. I want to use ng-repeat inside $scope.dynamicPopoverContent
- can I use $compile
here somehow to compile html with angular directives into compiled html, or is that just for the link function on directives?
Edit: ...and if I could use directives inside that html....