> If the test fails because of this line the test is wrong and not the code.

Could be, but i get the same problem also manually on a simple page. I added an `index.html` in a branch, so you can try by yourself a demo here http://danse.github.io/ng-aloha-editor/. Nothing happens to the element with the directive, and with the debugger you can check that the code initialising the directive is never executed, even though requirejs fetches the dependency correctly and executes the module code.

I am afraid that this is a case of conflict between the require dependency injection and the angular one. If the angular directive is defined asynchronously by require, it's not properly registered by angular.