bootstrap
bootstrap copied to clipboard
Alert formating
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?
@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
I'll do that, thanks for the advice!