transmit map object through attr to directive in preLink function
search/viewer integration
use gnSearchConfig instead of gnMapConfig
remove code in viewermodule