"SVGMorpheus is not defined" in angular directive
deejbee opened this issue · comments
I have added the library to the page but when i do something like this:
.directive('myDirective', function () {
return {
template: '<content-tag></content-tag>',
link: function (scope, element, attr) {
var myIcons = new SVGMorpheus('#pinkFrames', { iconId: 'pinkFrame1'});
myIcons.to('#pinkFrame2', {}, null);
}
}
}
});
I get:
SVGMorpheus is not defined ReferenceError: SVGMorpheus is not defined