diff options
Diffstat (limited to 'src/loader.js')
| -rw-r--r-- | src/loader.js | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/src/loader.js b/src/loader.js index 7e2289d0..712ff0f7 100644 --- a/src/loader.js +++ b/src/loader.js @@ -70,7 +70,9 @@ function setupModuleLoader(window) {        }        return ensure(modules, name, function() {          if (!requires) { -          throw minErr('$injector')('nomod', "Module '{0}' is not available! You either misspelled the module name or forgot to load it.", name); +          throw minErr('$injector')('nomod', "Module '{0}' 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.", name);          }          /** @type {!Array.<Array.<*>>} */  | 
