Ionic 2 custom svg spinner in loader



I am trying to use a custom SVG in my loader content but I cant get it to render. I have a stack overflow question on this already and it is a link below. I cannot get the HTML to sanitize and I get this error in the console WARNING: sanitizing HTML stripped some content (see The code I use is in the SO post.