Hi Guys,
I'm really stuck, I tried almost every thing and read lot of post regarding this issue but I can't figure out what I'm doing wrong...
You can find the description and the code here:
http://stackoverflow.com/questions/23606723/argument-headerctrl-is-not-a-function-got-undefined?answertab=active#tab-topIn the example it's a controller with a service, but I tried with a 'blank' controller and I got the same result...
The only difference I see with most of the examples is my files structure. Because I'm doing a big app, every controller have their own file. To be sure that all the module are created before calling them in an other file I load my app.js and a module.js (where I defined my service module, and later my directive module ) at first in my karma.conf.js.
I can test my services without problem, with $injector.
I'm using angular 1.3.0-beta.8.
Thx in advance for your help!
If needed I can fork my app, simplify it and made it public on github.
Yannick