title: Angular 2 disable sanitize
body: <p>I am trying to render base64 string into <code>&lt;img src='data:image/png;base64,${Here}'</code>.</p>
  
  <p>But always when I try to render it, ng2 sanitizing my base64 string before rendering it adds something into my value before showing it in DOM.
  I have found workaround(using DomSanitizer) but it doesn't work on latest versions.</p>
  
  <p>Here is my markup:</p>
  
  <pre><code>&lt;img alt="RegularImage" src="data:image/png;base64,{{imgBase64}}"&gt;
  </code></pre>
  
  <p>And here is my component part:</p>
  
  <pre><code>imgBase64="SomeBase64StringFetchedSomehow";
  </code></pre>
  
  <p>But angular2 is showing in console next message - <code>WARNING: sanitizing unsafe URL value</code></p>
  
  <p>How to prevent NG2 from sanitizing my base64 string?</p>
  
  <p><strong>Update</strong></p>
  
  <pre><code>get getImg() {
      return this._sanitizer.sanitize(SecurityContext.URL,`data:image/png;base64,${this.img}`);
  }
  </code></pre>
  
  <p>Doesn't solve this issue. DomSanitizer class does not exists anymore in RC6</p>