Angular inline condition
<p>I have the following row in my jade file</p>

<pre><code>img(src="{{ item.product.image1.match('http') ? item.product.image1 : 'http://s3-eu-west-1.amazonaws.com/#{_awsbucket}item.product.image1 }}'", alt='{{item.product.productNumber}}')
</code></pre>

<p>As you can see, I want to add <a href="http://s3-eu-west-1.amazonaws.com/" rel="nofollow">http://s3-eu-west-1.amazonaws.com/</a>{bucket} as src when the URL does not contain 'http'. 
This condition fails, (angular error), but I can't see any errors. Maybe someone have an idea? </p>

<blockquote>
  <p>angular.js:12477Error: [$parse:lexerr]
  <a href="http://errors.angularjs.org/1.4.7/" rel="nofollow">http://errors.angularjs.org/1.4.7/</a>$parse/lexerr?p0=Unterminated%20quote&amp;p1=…ttp%3A%2F%2Fs3-eu-west-1.amazonaws.com%2F***bucket***item.product.image1</p>
</blockquote>