Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(error/modulerr): Improving description of $injector:modulerr #12958

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/content/error/$injector/modulerr.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 reasons 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.
Expand All @@ -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