$sce.trustAsResourceUrl()

trustAsResourceUrl(value);

Shorthand method. $sce.trustAsResourceUrl(value) â $sceDelegate.trustAs($sce.RESOURCE_URL, value)

Parameters

Param Type Details
value *

The value to trustAs.

Returns

*

An object that can be passed to $sce.getTrustedResourceUrl(value) to obtain the original value. (privileged directives only accept expressions that are either literal constants or are the return value of $sce.trustAs.)

doc_AngularJS
2016-03-29 16:10:47
Comments
Leave a Comment

Please login to continue.