title: attr.data-icon is not working in angular 4
body: <p>I want to load the fonts dynamically in my angular 5 project and it is working fine when I use </p>
  
  <p><code>&lt;i data-icon="&amp;#xe04a;" &gt;&lt;/i&gt;</code></p>
  
  <p>but when I load the value dynamically in angular 5 by  using</p>
  
  <p><code>&lt;i [attr.data-icon]="w" &gt;&lt;/i&gt;</code></p>
  
  <p>In the component.ts file w value is same
  <code>w= "&amp;#xe04a;"</code>
   then its not working.</p>
  
  <p>But when I saw in console both scenarios then for the first scenario data-icon value turns into an utf code but for the [attr.data-icon] it show the value <code>"&amp;#xe04a;"</code></p>