customize generated directive

As suggested in #34 this makes it possible to change the configuration of the directive generated by  service.

@hasdavidc what do you think?
@hasdavidc unrelated, but this was no longer true