title: Is it possible to conditionally display element attributes using Angular2?
body: <p>I have some code that uses Polymer attributes on elements, for example:</p>
  
  <p><code>&lt;paper-drawer-panel force-narrow&gt;</code></p>
  
  <p>The way polymer works is that I can't simply say <code>force-narrow="false"</code> if I want to disable the attribute, it has to be removed altogether. Is there a way in Angular2 to conditionally remove the entire attribute? I can't seem to find any information on this topic. I could use <code>ngIf</code> and repeat the entire element with and without the attribute but I would rather not if possible. Thanks!</p>
  
  <p>Edit - Why was this question marked and closed as a duplicate? I asked this question a month <em>before</em> the duplicate post in question. God this site sucks sometimes.</p>
  
  <p>Edit 2 - I understand the rules, but still feel entitled to complain.</p>