bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Alert formating

Open seniorpreacher opened this issue 13 years ago • 2 comments

In my project, I would need to format a little bit of the Alert's text, using simple HTML tags like <b>

I tried to add it to my allert array, but it parsing the the whole text of the alert message and I've got: <b>item</b> was successfully edited!

Do you have any suggestion to improve this?

seniorpreacher avatar May 12 '13 09:05 seniorpreacher

@Edifice If you feel like you have to to put HTML in your model you should use http://docs.angularjs.org/api/ng.directive:ngBindHtmlUnsafe

http://plnkr.co/edit/dNBfku53CmNzfsz1tlqx?p=preview

pkozlowski-opensource avatar May 13 '13 19:05 pkozlowski-opensource

I'll do that, thanks for the advice!

seniorpreacher avatar May 13 '13 20:05 seniorpreacher