AngularJS - Filter HTML character references -


I have a set of JSON responses / results that I display front-end.

Some of these HTML character codes are included, for example:

  & lt; B & gt; Some text & lt; / B & gt;  

Rather than using ngSanitize, can I create a custom filter that changes HTML tags?

Then it will be displayed as above:

some text


Comments