Skip to content
Permalink
Browse files

docs(error/modulerr): add additional debugging help

This simple tip can help to diagnose the error.

Closes #12958
  • Loading branch information
nahakiole authored and petebacondarwin committed Sep 27, 2015
1 parent 9bb6a30 commit 081f6ec7f2cb3c2b3effbff1eb3a664305a0a9a4
Showing with 4 additions and 1 deletion.
  1. +4 −1 docs/content/error/$injector/modulerr.ngdoc
@@ -6,6 +6,9 @@
This error occurs when a module fails to load due to some exception. The error
message above should provide additional context.

A common reason why the module fails to load is that you've forgotten to
include the file with the defined module or that the file couldn't be loaded.

### Using `ngRoute`

In AngularJS `1.2.0` and later, `ngRoute` has been moved to its own module.
@@ -24,4 +27,4 @@ angular.module('ng').filter('tel', function (){});

Instead create your own module and add it as a dependency to your application's top-level module.
See [#9692](https://github.com/angular/angular.js/issues/9692) and
[#7709](https://github.com/angular/angular.js/issues/7709) for more information
[#7709](https://github.com/angular/angular.js/issues/7709) for more information

0 comments on commit 081f6ec

Please sign in to comment.
You can’t perform that action at this time.