We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b89d941 commit ba62e97Copy full SHA for ba62e97
src/ng/parse.js
@@ -45,7 +45,7 @@ function ensureSafeObject(obj, fullExpression) {
45
'Referencing Function in Angular expressions is disallowed! Expression: {0}',
46
fullExpression);
47
} else if (// isWindow(obj)
48
- obj.window === obj) {
+ obj.document && obj.location && obj.alert && obj.setInterval) {
49
throw $parseMinErr('isecwindow',
50
'Referencing the Window in Angular expressions is disallowed! Expression: {0}',
51
0 commit comments