title: How to remove tab character (\t) from string using angularjs filter?
body: <p>I have a html data received from server as a string i wanted to remove <code>\t</code> tabs character from content how can i resolve this problem using angularjs filter ? With below code i did not see <code>\t</code> remove from content when it renders to UI.</p>
  
  <p>filter.js</p>
  
  <pre><code>angular.module('App').filter('trusted', ['$sce', function ($sce) {
          return function(url) {
              var content = url.toString().replace('\t', '').split('\r\n');
              return $sce.trustAsResourceUrl(content);
          };
      }]);
  </code></pre>
  
  <p>main.html</p>
  
  <pre><code>&lt;tr ng-repeat="item in showMessages | filter:searchStr"&gt;
      &lt;td&gt;{{item.filename}}&lt;/td&gt;
      &lt;td class="serverResults" ng-bind-html="item.value | highlight:searchStr| trusted"&gt;{{item.value}}&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>data </p>
  
  <pre><code>&lt;p style=\"text-align: left; font-size: 15px; line-height: 20px; font-family:ClearviewATT, Arial; color: #444444; margin:0; padding:0;\"&gt;\t\t\t\t\t\t\t\t\t\t\tError Code: \t\t\t\t\t\t\t\t\t\t\t[(*ErrorCode*)]\t\t\t\t\t\t\t\t\t\t&lt;/p&gt;
  </code></pre>