TODO verify this one...
Takes the result of a $sceDelegate.trustAs call and returns the originally supplied value if the queried context type is a supertype of the created type.
Takes the result of a $sceDelegate.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 $sceDelegate.trustAs call.
The value the was originally provided to $sceDelegate.trustAs if valid in this context. Otherwise, throws an exception.
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.
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.
If the passed parameter had been returned by a prior call to $sceDelegate.trustAs, returns the value that had been passed to $sceDelegate.trustAs.
If the passed parameter had been returned by a prior call to $sceDelegate.trustAs, returns the value that had been passed to $sceDelegate.trustAs.
If the passed parameter is not a value that had been returned by $sceDelegate.trustAs, returns it as-is.
The result of a prior $sceDelegate.trustAs call or anything else.
The value that was originally provided to $sceDelegate.trustAs if value is the result of such a call. Otherwise, returns value unchanged.
SCE Delegate - is a service that is used by the $sce service to provide Strict Contextual Escaping (SCE) services to AngularJS
https://docs.angularjs.org/api/ng/service/$sceDelegate