htmlToPlainText

Description

Strip HTML from a string.

Usage

In HTML Template Binding

{{ htmlToPlainText_expression | htmlToPlainText }}

In JavaScript

$filter('htmlToPlainText')(string)

Parameters

Param Type Details
string string

The value to strip the html from.

Example

Source





Demo