I would like to create inline editable content in angularJs that could also insert an html formatted tag.
I created a plunker: http://plnkr.co/edit/cHgr6BxzoT3LWhc35kmX?p=preview
But when I try to insert some html tag, for example, for example:
<b>test</b>
I would like to get bold text, but it only shows plain text, not html ...
[EDIT]
Perhaps I canβt explain what I want. I would like to create a simple html editor that can change the text and, for example, add a link, bold text, title tags, etc ... just write the html tag and compile it on the page.
The answers are correct if I want to output text from my controller, but I want to make it editable.
source share