title: Is there a way to remove html tags from a string in JavaScript?
body: <p>I am working with the rich text editor component of <code>primeng</code>. This editor turns everything i type in into html. But sometimes i want to output these texts in plain text instead. Does angular 2 provide a way to easily remove the html tags from the text?</p>
  
  <p>Thank you.</p>