2015-12-11 15:30:25 -08:00

360 B

@cheatsheetSection Forms @cheatsheetIndex 3 @description {@target js ts}import {FORM_DIRECTIVES} from 'angular2/common';{@endtarget} {@target dart}import 'package:angular2/common.dart';{@endtarget}

@cheatsheetItem syntax: <input [(ngModel)]="userName">|[(ngModel)] description: Provides two-way data-binding, parsing and validation for form controls.