title: mark search string dynamically using angular.js
body: <p>How can I mark my search pattern dynamically in my html?<br>
  Example:</p>
  
  <p><img src="https://i.stack.imgur.com/6syjd.png" alt="SearchExample"></p>
  
  <p>I'm using angular and my html looks like this:</p>
  
  <pre><code>&lt;div&gt;
     &lt;input type="text" ng-model="viewmodel.searchString"/&gt;
     &lt;!--Moving over all phrases--&gt;
     &lt;div ng-repeat="phrase in viewmodel.Phrases"&gt;
          {{phrase.title}}            
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want the string matching pattern will be mark on every change in search string.</p>
  
  <p>Can you help me?</p>