I have an AngularJS directive in which I want to add a svg tag to the current element of the directive. Right now I do this with the help of jQuery
link: functio
You could use something like this
var el = document.createElement("svg"); el.style.width="600px"; el.style.height="100px"; .... iElement[0].appendChild(el)