notes on services and directives