The $sceProvider provider allows developers to configure the $sce service.
Read more about Strict Contextual Escaping (SCE).
Enables/disables SCE and returns the current value.
Param | Type | Details |
---|---|---|
value (optional) | boolean | If provided, then enables/disables SCE. |
boolean |
true if SCE is enabled, false otherwise. |
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.5.11/docs/api/ng/provider/$sceProvider