currently, code in directives.js moved to customedApp.js. so that we can delete it