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?
while you're in there, could you correct the double 'and and' as well? (that was apparently there beforehand)