Skip to main content

Description

The Result List directive.

Accessing result index

Within a search result you can access the index of the result by doing {{$parent.index}}. The index is zero-based so for result 1 the index will be 0.

Usage

as element:

Directive info

  • This directive creates new scope.

Parameters

Example

Source

Result

Result