Generate Angular Forms for you !
npm install ng-form-factory
In your app.module.ts
The schema is going to lazy load the component
TextFormComponent and pass it the form.
Let's create the component in
FormOutlet make sure that the component implements a form & a schema
Serve the app, you should see the form-text beeing lazy loaded automatically.