Files
memory-infrastructure-palace/docs/projects/memorypalace/Apple Notes/I am using Salesforce as the back end and my users can get some notifications….md

525 B

vm.to_trusted = to_trusted; function to_trusted(html_code) { return $sce.trustAsHtml(html_code); }

In the front end I am using it as such:

<p ng-bind-html="vm.to_trusted(message.body)"></p>

An example of the returned message.body is

<a href="/#/app/profile">Click Here to Fill out your Profile</a>. It will allow you

On localhost this works awesome with the link being shown and not the tag. On Salesforce, this is not the case with the above being shown instead. Any ideas as to why this is not working?