Below is the content of my haml file:
.new-project{"ng-controller" => "PopoverCtrl"}
%a{"popover-placement" => "right", :popover => "{{dynamicPopover}}", "popover-title" => "{{dynamicPopoverTitle}}"} + New Stream
And here is the code from my popover.js.coffee file
App.controller("PopoverCtrl", ($scope) ->
$scope.dynamicPopover =
$scope.dynamicPopoverTitle = "<span class='text-info'><strong>Create New Stream</strong></span>'+
'<button type='button' id='close' class='close' onclick=''>×</button>'"
)
Unfortunately, the html tags are being displayed as strings.
Please refer to this screenshot for a visual representation: