aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/$resource/badname.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/error/$resource/badname.ngdoc')
-rw-r--r--docs/content/error/$resource/badname.ngdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/content/error/$resource/badname.ngdoc b/docs/content/error/$resource/badname.ngdoc
new file mode 100644
index 00000000..99f73bdc
--- /dev/null
+++ b/docs/content/error/$resource/badname.ngdoc
@@ -0,0 +1,8 @@
+@ngdoc error
+@name $resource:badname
+@fullName Cannot use hasOwnProperty as a parameter name
+@description
+
+Occurs when you try to use the name `hasOwnProperty` as a name of a parameter.
+Generally, a name cannot be `hasOwnProperty` because it is used, internally, on a object
+and allowing such a name would break lookups on this object. \ No newline at end of file