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

Commit bbe8ad5

Browse files
Karthikvenkat86petebacondarwin
authored andcommitted
docs(error/ng:areq): mention common error cause
Closes #15414
1 parent 5041cf1 commit bbe8ad5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/content/error/ng/areq.ngdoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
@fullName Bad Argument
44
@description
55

6-
AngularJS often asserts that certain values will be present and truthy using a
7-
helper function. If the assertion fails, this error is thrown. To fix this problem,
8-
make sure that the value the assertion expects is defined and matches the type mentioned in the
9-
error.
6+
AngularJS often asserts that certain values will be present and truthy using a helper function. If
7+
the assertion fails, this error is thrown. To fix this problem, make sure that the value the
8+
assertion expects is defined and matches the type mentioned in the error.
9+
10+
If the type is `undefined`, make sure you any newly added controllers/directives/services are
11+
properly defined and included in the script(s) loaded by your page.

0 commit comments

Comments
 (0)