nested-forms/apps/static-factory-methods/src
Kevin C. Coram b7870b607b
Remove FormBuilder dependency; rname factory methods
* Update factory methods to use the FormGroup(), FormArray(), and
  FormControl() constructors instead of the FormBuilder service.
  This avoids needing to pass the service into each of the static
  factory methods.
* Rename the factory methods to `buildForm`. The consistent use
  of the same name establishes a pattern and makes it clearer
  that the factory methods have the same purpose -- to create the
  (sub)form for the specific component.
2020-01-07 22:39:53 -05:00
..
app Remove FormBuilder dependency; rname factory methods 2020-01-07 22:39:53 -05:00
assets Add fourth approach: Static methods on child components 2020-01-04 09:42:53 -05:00
environments Add fourth approach: Static methods on child components 2020-01-04 09:42:53 -05:00
favicon.ico Add fourth approach: Static methods on child components 2020-01-04 09:42:53 -05:00
index.html Add fourth approach: Static methods on child components 2020-01-04 09:42:53 -05:00
main.ts Add fourth approach: Static methods on child components 2020-01-04 09:42:53 -05:00
polyfills.ts Add fourth approach: Static methods on child components 2020-01-04 09:42:53 -05:00
styles.css Add fourth approach: Static methods on child components 2020-01-04 09:42:53 -05:00
test-setup.ts Add fourth approach: Static methods on child components 2020-01-04 09:42:53 -05:00