• Parameters

    • $state: any

    Returns {
        $stateful: boolean;
        (state: any, params: any, options: any): any;
    }

      • (state, params, options): any
      • Parameters

        • state: any
        • params: any
        • options: any

        Returns any

    • $stateful: boolean

Properties

Properties

$inject: string[]

isState Filter: truthy if the current state is the parameter

Translates to [[StateService.is]] $state.is("stateName").

<div ng-if="'stateName' | isState">show if state is 'stateName'</div>