angular.js/docs/content/error/parse/isecfn.ngdoc

11 lines
385 B
Text
Raw Normal View History

2013-07-13 00:42:27 +00:00
@ngdoc error
@name $parse:isecfn
@fullName Referencing Function Disallowed
@description
2013-08-07 16:32:23 +00:00
Occurs when an expression attempts to access the 'Function' object (constructor for all functions in JavaScript).
2013-08-07 16:32:23 +00:00
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.