docs(cheatsheet): update to new syntax

See https://github.com/angular/angular.io/pull/459

Closes #5733
This commit is contained in:
Peter Bacon Darwin
2015-12-09 12:33:42 +00:00
committed by Pete Bacon Darwin
parent ca73852746
commit 2f0744b089
11 changed files with 120 additions and 5 deletions

View File

@ -5,5 +5,7 @@ Forms
`import {FORM_DIRECTIVES} from 'angular2/angular2';`
@cheatsheetItem
syntax:
`<input [(ng-model)]="userName">`|`[(ng-model)]`
description:
Provides two-way data-binding, parsing and validation for form controls.