ng-html2text
v0.0.2
Published
Simple AngularJS $filter to convert HTML to plain text.
Downloads
8
Readme
ng-html2text
Install
npm install @dragonpaul-z/ng-html2text
Usage
<script src="%path-to-node_modules%/ngHtml2Text.js"></script>
angular.module('YourModule', ['ng-html2text'])
<div>{{myText | HtmlToText}}</div>
$filter('HtmlToText')(htmlString);