Currently, I am utilizing d3.js in conjunction with angularjs. However, when attempting to include a hyperlink within an svg object (which is rendered through an angular directive), an error arises.
According to the documentation here, svgAnimatedString does not possess any specific methods. How can this be resolved? Is it possible to inject a method or explore alternative solutions?
Provided below is a snippet of the code. Thank you.
svg.selectAll("a.node")
.data(data)
.enter().append("a")
.attr("class", "node")
.attr("xlink:href", "test")
.append("rect")