docs(NgControlName): correct exports name (#9021)

This commit is contained in:
PatrickJS 2016-06-04 19:48:50 -07:00 committed by Miško Hevery
parent 52ddc96c9f
commit 994d9212c1
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export const controlNameBinding: any =
* directives: [FORM_DIRECTIVES],
* template: `
* <form #f="ngForm" (submit)='onLogIn(f.value)'>
* Login <input type='text' ngControl='login' #l="form">
* Login <input type='text' ngControl='login' #l="ngForm">
* <div *ngIf="!l.valid">Login is invalid</div>
*
* Password <input type='password' ngControl='password'>