This library provides a faster and cleaner way to use Angular 2 Reactive Forms through typescript decorators.
FormBuilderModule in your
@NgModule and you're good to go:
How to use
To use this library simply create a class and add
@JasperoBuilder.dec() decorators to each property:
dec() method accepts the same arguments as
new FormControl() does and creates the
in the background.
Then in your component create the
FormGroup like this: