I have made a custom filter it outputs text. However, it puts html as is too. I want it to put html as html not escape it.
If i return html text it get escaped. So is there a way to overcome this.
I have tried $sce.trustAsHtml.
My angular version is 1.2.29
Linked answer requires a different approach, the approach that could work doesn't work for some reasons as also noted by others.
'ngSanitize'in the dependencies list of your app module?