fix(compile): fix directives with controller, templateUrl and compile properties