Please, could you put some part of the code on github? So we can test it. Em segunda-feira, 19 de maio de 2014 02h51min52s UTC-3, Yannick Chartois escreveu: > > 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-top > > In 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 >
-- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
