Closed
Description
Angular SVG url problem as follow:
https://github.com/jeffbcross/angular-svg-base.
change:
.attr('clip-path', 'url(#' + getClipPathId() + ')');
to:
.attr("clip-path", "url(" + window.location.href + "#" + getClipPathId() + ")");
this could avoid failure of clip-path when use Angular html5 mode.