Fixing minification issue by injecting services into directives.
Fixing dependency injection + minification issue in services.