12 lines
1,006 B
HTML
Executable file
12 lines
1,006 B
HTML
Executable file
<a href="http://github.com/angular/angular.js/edit/master/docs/content/error/parse/isecfn.ngdoc" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">Referencing Function Disallowed</code>
|
|
<div><span class="hint">error in component <code ng:non-bindable="">$parse</code>
|
|
</span>
|
|
</div>
|
|
</h1>
|
|
<div><pre class="minerr-errmsg" error-display="Referencing Function in Angular expressions is disallowed! Expression: {0}">Referencing Function in Angular expressions is disallowed! Expression: {0}</pre>
|
|
<h2 id="Description">Description</h2>
|
|
<div class="description"><div class="-parse-page -parse-isecfn-page"><p>Occurs when an expression attempts to access the 'Function' object (constructor for all functions in JavaScript).</p>
|
|
<p>Angular bans access to Function from within expressions since constructor access is a known way to execute arbitrary Javascript code.</p>
|
|
<p>To resolve this error, avoid Function access.</p>
|
|
</div></div>
|
|
</div>
|