title: Angular 2 Template Interpolation Escape Character Characters
body: <p>I am an Angular 2 newb.  </p>
  
  <p>I'm trying to set a background-image of a div by interpolating the value of a string variable called bgImage that contains a valid url for an image.</p>
  
  <p>However, I don't know how to get a pair of escaped double quotes inside of the parenthesis'</p>
  
  <p>How do you escape characters in Angular 2 template interpolation?</p>
  
  <p>This doesn't work:</p>
  
  <pre><code>[style]="'background-image: url(\"'+bgImage+'\");'"
  </code></pre>
  
  <p>or this:</p>
  
  <pre><code>[style]="'background-image: url(\''+bgImage+'\');'"  
  </code></pre>
  
  <p>or even HTML entity codes do not work:</p>
  
  <pre><code>[style]="'background-image: url(&amp;quot;'+bgImage+'&amp;quot;);'"  
  </code></pre>
  
  <p>Any ideas? Thanks in advance.</p>