Created
June 14, 2016 23:37
-
-
Save StephenFluin/91c0cd5c9e5b257294eb1daa61fc7acd to your computer and use it in GitHub Desktop.
Try out the latest changes to forms in Angular 2.0.0-rc2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {disableDeprecatedForms, provideForms} from '@angular/forms'; | |
... | |
bootstrap(App, [ | |
disableDeprecatedForms(), | |
provideForms(), | |
... | |
]); | |
... | |
// Wherever you want to use the new capabilities, import them from @angular/forms | |
import {REACTIVE_FORM_DIRECTIVES, FormGroup} from '@angular/forms'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment