AngularJS, like all frameworks has its warts. Its documentation is spartan but adequate for most purposed.
When AngularJS encounters an error, it tends to cough up a messy hairball of unhelpful information.
[$injector:nomod] Module 'ngLocale' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. http://errors.angularjs.org/1.2.7/$injector/nomod?p0=ngLocale
By all rights I read this as a failure to load ngLocale. It took me some backtracking to determine that the cause of the error has nothing to do with ngLocale.
I simply attempted to use a service that exists in a module that hasn’t been loaded. Adding the module to the application module’s dependency list resolved the error.
My druthers would be an error along the line of “Dependency ‘foo’ not found.”