diff options
Diffstat (limited to 'src/ng/sce.js')
| -rw-r--r-- | src/ng/sce.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/sce.js b/src/ng/sce.js index 8f231031..b1b571c6 100644 --- a/src/ng/sce.js +++ b/src/ng/sce.js @@ -427,10 +427,10 @@ function $SceDelegateProvider() { * * <pre class="prettyprint"> * <input ng-model="userHtml"> - * <div ng-bind-html="{{userHtml}}"> + * <div ng-bind-html="userHtml"> * </pre> * - * Notice that `ng-bind-html` is bound to `{{userHtml}}` controlled by the user. With SCE + * Notice that `ng-bind-html` is bound to `userHtml` controlled by the user. With SCE * disabled, this application allows the user to render arbitrary HTML into the DIV. * In a more realistic example, one may be rendering user comments, blog articles, etc. via * bindings. (HTML is just one example of a context where rendering user controlled input creates |
