$sce.parseAsResourceUrl()

parseAsResourceUrl(expression);

Shorthand method. $sce.parseAsResourceUrl(value) â $sce.parseAs($sce.RESOURCE_URL, value)

Parameters

Param Type Details
expression string

String expression to compile.

Returns

function(context, locals)

a function which represents the compiled expression:

  • context â {object} â an object against which any expressions embedded in the strings are evaluated against (typically a scope object).
  • locals â {object=} â local variables context object, useful for overriding values in context.
doc_AngularJS
2016-03-29 16:10:45
Comments
Leave a Comment

Please login to continue.