I think updatePrintConfig does not need to be a member of $scope