title: Angular 4 Sanitizing/escaping query parameters
body: <p>How do i securely use any query parameters that i receive? I have read about DOM sanitizing in Angular 4, but i can't find anything about securely using query parameters in angular 4.</p>
  
  <p><strong>Example:</strong></p>
  
  <pre><code>https://www.myangularproject.com/?parameter1=value
  </code></pre>
  
  <p>I want to avoid that people inject there own code or scripts as <code>value</code></p>