I would like to load js files in my directive. I have some problems with tinyMCE 4 and rails assets in prod. tinymce.js needs theme.js and so I can't compile both of them. I want to call those js files only when I need the directive.