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
In JavaScript
Parameters
| Param | Type | Details |
|---|---|---|
| url | string | The url to return. |
{{ trusted_expression | trusted }}
$filter('trusted')(url)
| Param | Type | Details |
|---|---|---|
| url | string | The url to return. |
Was this page helpful?