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
This commit is contained in:
Manan 2014-01-29 12:03:15 +05:30 committed by Caitlin Potter
parent 7aef2d54e0
commit 7a78aed160

View file

@ -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>
```