title: AngularJS: Escape HTML in input fields
body: <p>What is the best way to escape HTML in the input field? For example, I've search input field </p>
  
  <pre><code>&lt;input id="search" type="text" ng-model="search" placeholder="search..."&gt;
  </code></pre>
  
  <p>And I want to escape if somebody types something like this:</p>
  
  <pre><code>&lt;script&gt;alert("test123");&lt;/script&gt;
  </code></pre>