I'm building an Angular library that generate a form (the form definition is provided by an Angular application). This library has the basic built-in form-field type (text, textare, number, date, ...). But some applications need custom fields that will not be part of the library, so I need my library to be able to initialise those custom components declared in the application.
To summarise:
Any idea of which approach to take to achieve such requirement ?