Slightly obscene hack for lazy loading of directives