I want to have html content in my attribute to style the output, with lists and strong words etc.
angular.module('calc.popover', [])
.directive('popover', function() {
return {
restrict: 'E',
templateUrl: '/partials/popover.tpl.html',
scope: {
title: '@',
content: '@'
}
}
};
<popover title="I am a popover" content="Many Text <br> New line. <ul><li> a list </li></ul>"></popover>
How can i do this? If i do this, the output shows me the html tags.