Added compile command to directive.js to make my button work