maxCharacters

Description

Renders fields actual value

Usage

In HTML Template Binding

{{ maxCharacters_expression | maxCharacters:maxCharacters }}

In JavaScript

$filter('maxCharacters')(string, maxCharacters)

Parameters

Param Type Details
string string

The field to get the actual value from

maxCharacters number

Number of characters to display