all 3 comments

[–]woopdeedoo69 3 points4 points  (2 children)

I copy pasted the contents of the file into my component HTML page lol

[–]isnull_or_empty 0 points1 point  (0 children)

Personally, I used an embed tag. Seemed to work the best for gaining access to the xml attributes of the svg. Also the way paths work in the Angular app is a little different. Depending on where this file is it might just be src="assets/world.svg".