I have a "maps-services" module with the "MapService" service, as shown below:
angular.module('maps-services', [])
.service('MapService', [$log, function($log) {
this.initMap = function() {
}
this.updateMap = function() {
}
}]);
I also have a 'maps' module depending on 'maps-services' as below:
angular.module('maps', [
'maps-services'
]);
When I had a dependency on "cards" in another module, I get an error message with a non-displayable message:
"[$ injector: nomod] The 'ngLocale' module is unavailable! You either mistakenly wrote the module name or forgot to load it. If registering the module ensures that you define the dependencies as the second argument.
http://errors.angularjs.org/1.3. 0-beta.11 / $ injector / nomod? P0 = ngLocale "
I do not understand what is happening, and how I can debug module loading in order to better understand where the problem is.
Could you help me?
Sincerely.