Delegates to $sceDelegate.getTrusted.
Delegates to $sceDelegate.getTrusted. As such, takes the result of a $sce.trustAs() call and returns the originally supplied value if the queried context type is a supertype of the created type. If this condition isn't satisfied, throws an exception.
The result of a prior $sce.trustAs call.
The value the was originally provided to $sce.trustAs if valid in this context. Otherwise, throws an exception.
Shorthand method.
Shorthand method. $sce.getTrustedCss(value) -> $sceDelegate.getTrusted($sce.CSS, value)
The value to pass to $sce.getTrusted.
The return value of $sce.getTrusted($sce.CSS, value)
Shorthand method.
Shorthand method. $sce.getTrustedHtml(value) -> $sceDelegate.getTrusted($sce.HTML, value)
The value to pass to $sce.getTrusted.
The return value of $sce.getTrusted($sce.HTML, value)
Shorthand method.
Shorthand method. $sce.getTrustedJs(value) -> $sceDelegate.getTrusted($sce.JS, value)
The value to pass to $sce.getTrusted.
The return value of $sce.getTrusted($sce.JS, value)
Shorthand method.
Shorthand method. $sce.getTrustedResourceUrl(value) -> $sceDelegate.getTrusted($sce.RESOURCE_URL, value)
The value to pass to $sceDelegate.getTrusted.
The return value of $sce.getTrusted($sce.RESOURCE_URL, value)
Shorthand method.
Shorthand method. $sce.getTrustedUrl(value) -> $sceDelegate.getTrusted($sce.URL, value)
The value to pass to $sce.getTrusted.
The return value of $sce.getTrusted($sce.URL, value)
Returns a boolean indicating if SCE is enabled.
Returns a boolean indicating if SCE is enabled.
a boolean indicating if SCE is enabled.
Converts Angular expression into a function.
Converts Angular expression into a function. This is like $parse and is identical when the expression is a literal constant. Otherwise, it wraps the expression in a call to $sce.getTrusted(type, result)
String expression to compile.
a function which represents the compiled expression:
Shorthand method.
Shorthand method. $sce.parseAsCss(value) → $sce.parseAs($sce.CSS, value)
String expression to compile.
a function which represents the compiled expression:
Shorthand method.
Shorthand method. $sce.parseAsHtml(expression string) -> $sce.parseAs($sce.HTML, value)
String expression to compile.
a function which represents the compiled expression:
Shorthand method.
Shorthand method. $sce.parseAsJs(value) → $sce.parseAs($sce.JS, value)
String expression to compile.
a function which represents the compiled expression:
Shorthand method.
Shorthand method. $sce.parseAsResourceUrl(value) -> $sce.parseAs($sce.RESOURCE_URL, value)
String expression to compile.
a function which represents the compiled expression:
Shorthand method.
Shorthand method. $sce.parseAsUrl(value) -> $sce.parseAs($sce.URL, value)
String expression to compile.
a function which represents the compiled expression:
Delegates to $sceDelegate.trustAs.
Delegates to $sceDelegate.trustAs. As such, returns an object that is trusted by angular for use in specified strict contextual escaping contexts (such as ng-bind-html, ng-include, any src attribute interpolation, any dom event binding attribute interpolation such as for onclick, etc.) that uses the provided value. See * $sce for enabling strict contextual escaping.
The value that that should be considered trusted/safe.
A value that can be used to stand in for the provided value in places where Angular expects a $sce.trustAs() return value.
Shorthand method.
Shorthand method. $sce.trustAsHtml(value) -> $sceDelegate.trustAs($sce.HTML, value)
the given value
Shorthand method.
Shorthand method. $sce.trustAsJs(value) -> $sceDelegate.trustAs($sce.JS, value)
The value to trustAs.
An object that can be passed to $sce.getTrustedJs(value) to obtain the original value. (privileged directives only accept expressions that are either literal constants or are the return value of $sce.trustAs.)
Shorthand method.
Shorthand method. $sce.trustAsResourceUrl(value) -> $sceDelegate.trustAs($sce.RESOURCE_URL, value)
The value to trustAs.
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.)
Shorthand method.
Shorthand method. $sce.trustAsUrl(value) -> $sceDelegate.trustAs($sce.URL, value)
The value to trustAs.
An object that can be passed to $sce.getTrustedUrl(value) to obtain the original value. (privileged directives only accept expressions that are either literal constants or are the return value of $sce.trustAs.)
SCE Service - is a service that provides Strict Contextual Escaping services to AngularJS.
https://docs.angularjs.org/api/ng/provider/$sceDelegateProvider