-- standard angular header and router-outlet --> <app-nav> the dynamic content would be inserted into the <main> element as HTML with angular <app-... tags
the content in the HTML content inse
this.componentFactoryService.getComponentFacroty(this.componentName); //componentName is Component1Component /*here I set the variables that should be binded*/
this.componentRef.instanc