Legacy Product

Fusion 5.10
    Fusion 5.10

    trusted

    Description

    Returns a trusted url. This is required if trying to use an angular expression in the media idea src attribute.

    Usage

    In HTML Template Binding

    {{ trusted_expression | trusted }}

    In JavaScript

    $filter('trusted')(url)

    Parameters

    ParamTypeDetails
    urlstring

    The url to return.