code: function onEntityRetrieved( serverResponse ) {
  			if( !serverResponse.data[ configuration.entityName ] ) {
  				throw new Error( "The response from the server was not in the expected format. It should have a member named '" + configuration.entityName + "'." );
  			}
  
  			var rawEntity = serverResponse.data[ configuration.entityName ];
  
  			// Put the raw entity into our raw entity cache.
  			// We keep the raw copy to allow caching of the raw data.
  			self.__cacheMaintain( self.__entityCacheRaw[ configuration.collectionName || configuration.entityName ],
  				rawEntity,
  				"update",
  				false );
  
  			// Deserialize the object and place it into the cache.
  			// We do not need to check here if the object already exists in the cache.
  			// While it could be possible that the same entity is retrieved multiple times, __updateCacheWithEntity
  			// will not insert duplicates into the cache.
  			var deserialized = self.deserializer( rawEntity );
  			self.__updateCacheWithEntity( deserialized );
  			return deserialized;
  		}
docs: Invoked when the entity was retrieved from the server.
  @param {angular.IHttpPromiseCallbackArg|Object} serverResponse The reply sent from the server.