File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -297,6 +297,8 @@ function $RootScopeProvider() {
297
297
* according to the {@link angular.equals} function. To save the value of the object for
298
298
* later comparison, the {@link angular.copy} function is used. This therefore means that
299
299
* watching complex objects will have adverse memory and performance implications.
300
+ * - This should not be used to watch for changes in objects that are
301
+ * or contain [File](https://developer.mozilla.org/docs/Web/API/File) objects due to limitations with {@link angular.copy `angular.copy`}.
300
302
* - The watch `listener` may change the model, which may trigger other `listener`s to fire.
301
303
* This is achieved by rerunning the watchers until no changes are detected. The rerun
302
304
* iteration limit is 10 to prevent an infinite loop deadlock.
You can’t perform that action at this time.
0 commit comments