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

Popular posts from this blog

php - Select box validation (in laravel) -

pandas - Iterate on Groupby Object's fields -

Creating a sparse matrix in Matlab with a specified number of independent Bernoulli +-1 nonzero entries -