Hi I am using this component as a datetimepicker: https://dalelotts.github.io/angular-bootstrap-datetimepicker/
I have multiple date fields generated at runtime, and this component need to refer to the field name as it is shown in code below
<datetimepicker
ng-model="param.DefaultValues[0]"
datetimepicker-config="{ dropdownSelector: '#{{param.Name}}' }" />
But I am getting the error from angular.js after selecting a date:
I am only asking about this syntax, how to fix it?
Full piece of code is this:
UPDATE
Sorry guys, you all suggested the same syntax,
datetimepicker-config="{ dropdownSelector: '#' + {{ param.Name }} }"
but it didnt work, breaks right away when I open the page:
Error: [$parse:syntax] Syntax Error: Token '{' invalid key at column 28 of the expression [{ dropdownSelector: '#' + {{ param.Name }} }] starting at [{ param.Name }} }].
I think closing single quote is missing here...

