Currently, I am working on implementing a ComponentContainer in Angular 2 that allows for the dynamic addition of other Components, similar to a LinearLayout in Android.
Through my research and implementation using this resource on Stack Overflow: Angular 2 dynamic tabs with user-click chosen components, I have been able to successfully add Components dynamically by passing their Type.
However, one issue I am facing is that when creating a new Component using this method, I am unable to pass any arguments to it.
This is currently what I have implemented:
container.component.ts
... ... (rest of the code remains unchanged) ...