$scope.unlockGroupings = function () {
                var route = CONSTANTS.PROXY + '/activities/' + $scope.activity._id + '/remove';
                if ($scope.unlockedGroups) {
                    $http.put(route, {groups: $scope.activity.groups}).success(function (data) {
                        $scope.activity = data;