Hey, that sounds interesting, and kind of bug-like! Could you please file
an issue (with a reproduction of some kind) on
https://github.com/angular/angular.js ? Thanks!

On Thu, Mar 12, 2015 at 5:27 PM, Bob <[email protected]> wrote:

> Hi,
>
> If that helps it turns out I had the very same problem and in my case it
> was because I was loading the angular-mocks.js file.
> I was importing it once with my vendor libs and again in the Karma files.
>
> Cheers.
>
>
> On Saturday, February 21, 2015 at 12:55:59 AM UTC+13, Szymon Nowak wrote:
>>
>> It looks like something has changed in angular-mocks in 1.3.12, because
>> after updating from 1.3.11 to 1.3.12 or 1.3.13 all our unit tests stopped
>> working and throw the same error:
>>
>> Error: [$injector:modulerr] Failed to instantiate module ng due to:
>> Error: [$injector:modulerr] Failed to instantiate module ngLocale due to:
>> RangeError: Maximum call stack size exceeded
>>     at Function.t.injector.$$annotate
>>
>> If I update angular and all related libraries to 1.3.13, but leave
>> angular-mocks at 1.3.11 everything still works fine. Here's an example of a
>> test that fails: https://gist.github.com/szimek/0eb0833f3447c2b843dd
>>
>> Any ideas what can be wrong?
>>
>> Cheers,
>> Szymon
>>
>  --
> 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.
>

-- 
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.

Reply via email to