angular-toastr
angular-toastr copied to clipboard
trustAsHtml used for title and message -XSS Attack
trustAsHtml used for title and message is prone to XSS when allowHtml true. Only ng-bind-html should be enough to allow for whitelisted tags according to me. How can I rectify this problem ?