I'm trying to bind a var which contains an URL and ng-click.
I'm binding this url - but it doesn't show as a hyperlink.
var myURL = "http://www.cnn.com');'>LINK"
it appears literally ... like
<a ng-click='formatter.GotoLink('http://www.cnn.com');'>LINK</a>
instead of just "LINK"
Any ideas what's wrong with myURL string?
formatter.GotoLink = function (url){
window.open(link,'_system');
}
'quote mismatch. Use"as outer quotes for your HTML attributes