I'm currently editing an existing web application where I need to improve the codes to protect it from XSS attacks, I researched about it, but most of the articles I saw was for raw HTML and also they don't give a lot of example. I was thinking that I may just need to use some anti-xss libraries, but I'm not sure I'm fairly new to Angular JS so I would like to get some insights first before changing anything
Here are some of the code lines that are said to be unsafe.
Here are sample code snippets of the first 3.
Line 1663:
Line 1686:
Line 1836: