removes other refs to $scope.cfg, this is never necessary