aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/$parse/isecfn.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/error/$parse/isecfn.ngdoc')
-rw-r--r--docs/content/error/$parse/isecfn.ngdoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/content/error/$parse/isecfn.ngdoc b/docs/content/error/$parse/isecfn.ngdoc
new file mode 100644
index 00000000..417551cb
--- /dev/null
+++ b/docs/content/error/$parse/isecfn.ngdoc
@@ -0,0 +1,10 @@
+@ngdoc error
+@name $parse:isecfn
+@fullName Referencing Function Disallowed
+@description
+
+Occurs when an expression attempts to access the 'Function' object (constructor for all functions in JavaScript).
+
+Angular bans access to Function from within expressions since constructor access is a known way to execute arbitrary Javascript code.
+
+To resolve this error, avoid Function access.