title: Strip Html Tags In Ionic?
body: <p>Using ionic 3 I have fetched some data from wordpress api and am then displaying the same on app UI. Everything seems to work fine except the HTML tags included in the content. The html tags are printed too. I have referred to some resources that suggested the following code :- </p>
  
  <pre><code>`var app = angular.module('myHDApp', []);
  
      app.filter('removeHTMLTags', function() {
  
      return function(text) {
  
          return  text ? String(text).replace(/&lt;[^&gt;]+&gt;/gm, '') : '';
  
  };
  
  });
  </code></pre>
  
  <p>I have implemented the above function in my .ts code but it does not seems to work for me as I still get the HTML tags in the content.</p>