>>>Does
>>>
>>>IndexStr = index.toString();
>>>$scope.currentTemplate["aAutoDep"+IndexStr] = '';
>>>
>>>
>>>work?
>>>
>>I'll try, thanks. Do you know if we can access object properties in JavaScript this way?
>
>In Python properties are implemented in a dict, and if I am not confusing something in JS the dominant data structure is the assoiciative array.
I made an update to my post with this blog reference
http://nfriedly.com/techblog/2009/06/advanced-javascript-objects-arrays-and-array-like-objects/
If it's not broken, fix it until it is.
My Blog