Here's my twitter link in angular:
a.preventDefault(href='javascript:window.open("https://twitter.com/intent/tweet?original_referer={{url}}&url={{url}}", "_blank", "width=400,height=500");void(0);') Twitter
The result is
<a href="unsafe:javascript:window.open("https://twitter.com/intent/tweet?original_referer=&url=", "_blank", "width=400,height=500");void(0);" class="preventDefault">Twitter</a>
What's with the unsafe stuff? It doesn't work. How do I fix it thanks.