$sce.parseAsUrl()

parseAsUrl(expression);

Shorthand method. $sce.parseAsUrl(value) â $sce.parseAs($sce.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:46
Comments
Leave a Comment

Please login to continue.