I would like to create an inline editable content in angularJs that could insert also formatted html tag.
I have created a plunker: http://plnkr.co/edit/cHgr6BxzoT3LWhc35kmX?p=preview
But when I try to insert some html tag like for example:
<b>test</b>
I'd like to see a bold text, but it only show plain text and not html...
[EDIT]
Probably I cannot explain well what I want. I would like to crate a simple html editor, which can modify a text and for example add link, bold text, heading tags etc... simply writing the html tag and compile in the page.
The answers are right if I would like to output a text from my controller, but I wanna make this editable.
ngBindHtmlUnsafedocs.angularjs.org/api/ng.directive:ngBindHtmlUnsafe$scope.name = '<b>World</b>';