Pubstwo 1000

I chose to deal with some null exceptions by initializing an empty object. Any unintended consequences possible here?
It's a problem with the test I believe. The test is a unit test and does not use the Publication factory in pw.publication. The $scope.pubData should be appropriately initialized before calling createController in the test (bibliodata-spec.js) or potentially use Publication factory to initialize pubData, but either way it has to be initialized before the controller is created.