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?
*possible