Here is the challenge I am facing with angularJS text boxes. I want to auto convert all the HTML codes and HTML Name into special characters inside a text-box.
Suppose, {$sce.trustAsHtml('Tom & Jerry');} it should auto convert into "Tom & Jerry" inside the same text box. [fiddle example][1]
I tried using custom directives, $sce , ng-model-options but not able to get the required result. Hope you guys can help me out with it.
Thanks in advance :)
I just solved it .Try entering any special characters, ASCII codes or html codes in the text box.
{{value}}
fiddle here