Re: [AngularJS] Tests for app "run" block

2013-12-23 Thread Clint Checketts
t: GET /url/to/service > No more request expected in > app/bower_components/angular-mocks/angular-mocks.js (line 960) > > I am really stuck here... > > > > > 2013/12/23 Clint Checketts > >> If you had an InitializationService that did all this work, then it wo

Re: [AngularJS] Tests for app "run" block

2013-12-23 Thread Clint Checketts
If you had an InitializationService that did all this work, then it would easy to test like any other service, and the run block would be simplified to merely calling the Init service. On Sun, Dec 22, 2013 at 5:27 PM, Sergio Rinaudo wrote: > Hi all, > I have some logic in the run block of my app

[AngularJS] Calling $http (or similar) without $apply?

2013-12-23 Thread Clint Checketts
present, however I'd prefer making it a simple Angular-only solution. Any ideas? -Clint Checketts -- 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 angul