add directives.js
add directives.js