In an app there are some differ components, which refer to a common template by using the same url:
@Component({
selector: 'JG-Percentage',
templateUrl: '../../../../htmlStructure/htmlBaseTemplate/TemplateVarlist.component.svg',
styleUrls: ['./Percentage.component.sass']
})
So far so good, also by using angular two-way binding: [(ngModel)]='variable.varLabel'.
But now on some components needs some additional small html code, also with angular two-way binding: [(ngModel)]='variable.inputStr'.
How to inject this added html code into the common template? Or may two html files can be related together to one component?
Thanks for help.
The example is shown on https://angulartool.de