split directives.js in js files for each directive