For those who needed to use the translation bar: it's fixed for >
1.3.beta-8. And to answer your question directly, yes, there is a
difference between SVG and HTML nodes in the DOM, as they are defined
within different namespaces
<http://www.w3.org/TR/SVG/intro.html#NamespaceAndDTDIdentifiers>, although
this is more technical than needed to solve the problem.
The key is the use of the DOM node type = "SVG" as Sander provided in his
Plunkr:
.directive('svgPathReplace', function() {
return {
type: 'SVG',
// snip
}
If you're interested, you can dig around in the AngularJS source code to
understand how DOM nodes are internally created; they are created slightly
differently. HTH.
Cheers
Chris
On Saturday, June 28, 2014 7:09:45 AM UTC-4, Sander Elias wrote:
>
> Hoi Dries,
>
> Svg heeft inderdaad een ander type node nodig, dit is in angular
> ondersteund vanaf versie 1.3.beta-8!
> http://plnkr.co/edit/h3CyndYMXBJ9f2SoWMnj?p=preview
>
> Groetjes
> Sander
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.