Description

Strip HTML from a string.

Usage

In HTML Template Binding

{{ htmlToPlainText_expression | htmlToPlainText }}

In JavaScript

$filter('htmlToPlainText')(string)

Parameters

ParamTypeDetails
stringstringThe value to strip the html from.