facet

Description

Returns a result from the response

Usage

In HTML Template Binding

{{ facet_expression | facet:facetName }}

In JavaScript

$filter('facet')(response, facetName)

Parameters

Param Type Details
response object

The response object to get the facet from

facetName string

The facet name

Example

Source