I am interested how you can obtain a TemplateRef by passing a string for example. 
I don't want to obtain it through a component html, as I just want to save it in a config to be used for all components. I am refering to the ng-bootstrap NgbDatePickerConfig that can be viewed here: https://github.com/ng-bootstrap/ng-bootstrap/blob/master/src/datepicker/datepicker-config.ts.
