console.log deleted from directive.js