Is there an angular JS command that will do HTML escaping on text? I am processing a custom directive and have need to escape some of the output which it generates.
You can use encodeEntities() function in ngSanitize to escape & < > etc.