Is it feasible to replace the '$' symbols in a string with inputs, and then bind those inputs with ngModel to an array? Take for instance:
str = 'Load for $ seconds';
This should be transformed into:
str = 'Load for <input type="number" [(ngModel)]="data[0]"> seconds';