Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

correcting directive name to ng-model instead of ng-mode in nodomevents.... #6036

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/error/compile/nodomevents.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
```

Expand Down