result

Description

Returns a result from the response

Usage

In HTML Template Binding

{{ result_expression | result[:index] }}

In JavaScript

$filter('result')(response[, index])

Parameters

Param Type Details
response string

The response object to get the result from.

index
(optional)
number

The index of the result to retrieve, index starts at 0. (Defaults to 0).

Example

Source