diff options
| author | Manan | 2014-01-29 12:03:15 +0530 |
|---|---|---|
| committer | Caitlin Potter | 2014-01-29 08:51:02 -0500 |
| commit | 7a78aed1603ca7f60f2f70ba27f0102e08862550 (patch) | |
| tree | ecfd19cb747e2d80aeac93c60ac4949a7b433b1a | |
| parent | 7aef2d54e0a48fae18a289813f699962d8310565 (diff) | |
| download | angular.js-7a78aed1603ca7f60f2f70ba27f0102e08862550.tar.bz2 | |
docs(compile/nodomevents): fix typo ng-mode -> ng-model
correcting directive name to ng-model instead of ng-mode in nodomevents.ngdoc
Correcting use of ng-model directive
Closes #6036
| -rw-r--r-- | docs/content/error/compile/nodomevents.ngdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/error/compile/nodomevents.ngdoc b/docs/content/error/compile/nodomevents.ngdoc index 67bd81ee..ed1888c7 100644 --- a/docs/content/error/compile/nodomevents.ngdoc +++ b/docs/content/error/compile/nodomevents.ngdoc @@ -11,7 +11,7 @@ For these reasons binding to event handler attributes (all attributes that start An example code that would allow XSS vulnerability by evaluating user input in the window context could look like this: ``` -<input ng-mode="username"> +<input ng-model="username"> <div onclick="{{username}}">click me</div> ``` |
