Now I'm not sayin' I wasted half of my Saturday to discover that
you cannot inject dependencies into an AngularJS module's config function directly, but that you can, instead, inject dependencies into routeProvider's resolve within config. But hypothetically speaking...completely hypothetically...if I did
waste half my Saturday doing that, finding these two links 3 1/2 hours
earlier would have been really really convenient...like...really.
09-28-2013 6:51 PM