title: Angular 2+ Sanitize Form Input for XSS attacks
body: <p>I am developing a web application using Angular2 Beta.</p>
  
  <p>My forms include simple Text fields and Text areas which accept input from the user and the data is displayed back in the application.</p>
  
  <p>These fields are not meant to take any HTML input and render them back in HTML format.</p>
  
  <p>I tried entering simple javascript code like</p>
  
  <pre><code>&lt;script&gt;alert("XSS");&lt;/script&gt;
  </code></pre>
  
  <p>It is displayed as it is without running the malicious code. :)</p>
  
  <p>I would like to check if my application is vulnerable to XSS attacks.</p>
  
  <p>Does Angular 2+ sanitize the user inputs by default?</p>