I would propose to use the gaGlobalOptions  in order to transfer this url to the Directive