Try out the latest changes to forms in Angular 2.0.0-rc2
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