Changed SVG selection from angular.element + outerHTML to getElementsByTagName + XMLSerializer. Fixes #5.