main service URI moved to services.js and directives minor fix