title: Angular add (click) event to dynamic HTML <a> tag?
body: <p>I am new to angular and trying to figure out a solution to this problem. In my .ts file I have string like  <code>var info = "Please Download File" + "&lt;a (click)=downloadFile()&gt;Click Here&lt;/a&gt;</code>. The anchor tag is dynamically added inside a function.I am trying to fire downloadFile() function but not sure how to solve this problem? When I inspect the element it does not show (click) function</p>