marcorinck / angular-growl

growl-like notifications for angularJS projects
MIT License
478 stars 191 forks source link

Error: [$sce:unsafe] #38

Closed FrankFang closed 10 years ago

FrankFang commented 10 years ago
growl.addErrorMessage('<strong>html</strong>', {enableHtml: true})

How to enable HTML content?

FrankFang commented 10 years ago

I find a solution

growl.addErrorMessage($sce.trustAsHtml('<strong>html</strong>'),{enableHtml: true})