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

Commit 7a78aed

Browse files
mananbhararacaitp
authored andcommitted
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
1 parent 7aef2d5 commit 7a78aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/error/compile/nodomevents.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For these reasons binding to event handler attributes (all attributes that start
1111

1212
An example code that would allow XSS vulnerability by evaluating user input in the window context could look like this:
1313
```
14-
<input ng-mode="username">
14+
<input ng-model="username">
1515
<div onclick="{{username}}">click me</div>
1616
```
1717

0 commit comments

Comments
 (0)