From d547652896d136fc6441570f41d90f3ddb5c66ec Mon Sep 17 00:00:00 2001 From: Nikhil Date: Wed, 3 Aug 2016 13:42:58 +0530 Subject: [PATCH 1/2] docs(error/areq): describe your change... Encountered this error many times, the provided details are very encrypted (don't seem practical), i have added a line that is 99% practical and main cause for this error. These 3 points that i have added are seriously core reasons for this error. --- docs/content/error/ng/areq.ngdoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/content/error/ng/areq.ngdoc b/docs/content/error/ng/areq.ngdoc index 376ac035c00a..37371b1f115d 100644 --- a/docs/content/error/ng/areq.ngdoc +++ b/docs/content/error/ng/areq.ngdoc @@ -6,3 +6,5 @@ AngularJS often asserts that certain values will be present and truthy using a helper function. If the assertion fails, this error is thrown. To fix this problem, make sure that the value the assertion expects is defined and truthy. +Check and make sure that provided controller name is exact, this may be a syntax error +as well and you have included app-name and check that the current controller is included in root html. From 2bced8bddbaca2e7cd2f2cccc94e256c47e5257f Mon Sep 17 00:00:00 2001 From: Nikhil Date: Thu, 4 Aug 2016 10:55:49 +0530 Subject: [PATCH 2/2] Update areq.ngdoc Earlier commit was focusing on controller only, but current commit is covering large area of this error, that is mostly the reason. --- docs/content/error/ng/areq.ngdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/error/ng/areq.ngdoc b/docs/content/error/ng/areq.ngdoc index 37371b1f115d..92a0be03d7f3 100644 --- a/docs/content/error/ng/areq.ngdoc +++ b/docs/content/error/ng/areq.ngdoc @@ -6,5 +6,5 @@ AngularJS often asserts that certain values will be present and truthy using a helper function. If the assertion fails, this error is thrown. To fix this problem, make sure that the value the assertion expects is defined and truthy. -Check and make sure that provided controller name is exact, this may be a syntax error -as well and you have included app-name and check that the current controller is included in root html. +Check and make sure that provided names are exact, this may be a syntax error +as well other lookups could be including app-name and adding scripts in root html.