title: Angular 2 Template with conditional (?) sentence doesn't work
body: <p>I have to use a conditional operator in html template using angular 6</p>
  
  <pre><code>@Component({
    selector: 'ngx-pages',
    template: `
  &lt;div [@myAnimation]="o.isActivated ? o.activatedRoute : ''"&gt;
    &lt;router-outlet #o="outlet"&gt;&lt;/router-outlet&gt;
  &lt;/div&gt; `...
  </code></pre>
  
  <p>When I put <code>?</code>, the code stops working</p>