Looking again at the your elements list it is failing because you are using single quotes around the property name as well as around the full elements string. You will need to use double-quotes around the property name: {{$ctrl.settings["Dim Year"]}}. It should now look like this (not tested):
If I remember correctly, this issue is also happening in the Cubewise Timesheet application, when you try to upload from Excel and one of the project codes contains a comma
What TM1 version are you using this with? What are the errors that you are seeing in the console?
Does hard coding the values work on your page? If this works, then how are you retrieving the Dim Product value? I noticed that you were using and assigning it to the controller. Can you post in here that section of code on how you set values into it?