```var lastId = _.max($scope.userWidgets, 'id');```