As I said I don't think we should inject gaGlobalOptions in directives. Do you want to address this with a separate PR?