How To
Documentation
    Learn More

      result

      Description

      Returns a result from the response

      Usage

      In HTML Template Binding

      {{ result_expression | result[:index] }}

      In JavaScript

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

      Parameters

      ParamTypeDetails
      responsestring

      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