Skip to main content

Description

Returns the first fact of the provided fact name from the response. If no fact is found it will return null.

Usage

In HTML Template Binding

{{ fact_expression | fact:fact-name }}

In JavaScript

$filter('fact')(response, fact-name)

Parameters

ParamTypeDetails
responseobjectThe response object to get the fact from
fact-namestringThe fact name