ngModel path to bind from variable

I have a configuration object that specifies a path to model like this

configuration class object{ path: string }
path = myObject.id
I want to use this path on template as as a property of [(ngModel)]. I can’t use it with {{}}, is there any way to use string variable as a path to binding?