2015-11-05 10:04:55 -05:00
|
|
|
@cheatsheetSection
|
2015-11-06 07:26:24 -05:00
|
|
|
Forms
|
2015-11-13 02:14:12 -05:00
|
|
|
@cheatsheetIndex 3
|
2015-11-05 10:04:55 -05:00
|
|
|
@description
|
|
|
|
`import {FORM_DIRECTIVES} from 'angular2/angular2';`
|
|
|
|
|
|
|
|
@cheatsheetItem
|
2015-11-06 07:26:24 -05:00
|
|
|
`<input [(ng-model)]="userName">`|`[(ng-model)]`
|
2015-11-05 10:04:55 -05:00
|
|
|
Provides two-way data-binding, parsing and validation for form controls.
|