encodeURIComponent

Description

Renders fields actual value

Usage

In HTML Template Binding

{{ encodeURIComponent_expression | encodeURIComponent }}

In JavaScript

$filter('encodeURIComponent')(string)

Parameters

Param Type Details
string string

The value to encode

Example

Source



Demo