I am trying to create a bookmarklet on an anchor tag using angularjs.
When the script is static, there is no need to use angularjs code.
but when it is dynamic, both href
and ng-href
are appending 'unsafe'
to the JavaScript.
tried DOM manipulation and it worked perfectly.
Instead of scriptlet, if i am using a URL, both href
and ng-href
are working properly