directives from main.js works