what about ```userWidgets[id] = angular.extend({id: id}, ...);``` so that you don't have to pass around it?