$sceProvider

Improve this Doc View Source $sceProvider

  1. $sce
  2. provider in module ng

The $sceProvider provider allows developers to configure the $sce service.

  • enable/disable Strict Contextual Escaping (SCE) in a module
  • override the default implementation with a custom delegate

Read more about Strict Contextual Escaping (SCE).

Methods

  • enabled([value]);

    Enables/disables SCE and returns the current value.

    Parameters

    Param Type Details
    value
    (optional)
    boolean

    If provided, then enables/disables SCE.

    Returns

    boolean

    true if SCE is enabled, false otherwise.

© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.3.20/docs/api/ng/provider/$sceProvider

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部