F
F
Fayozzhon Berdiev2015-11-23 17:07:31
Angular
Fayozzhon Berdiev, 2015-11-23 17:07:31

Has anyone experienced TypeError: Illegal invocation?

Good time of the day!
For some reason, every time Scope.apply is accessed, an error occurs in the console

TypeError: Illegal invocation
    at equals (angular.js:1041)
    at equals (angular.js:1041)
    at Scope.$digest (angular.js:15747)
    at angular.js:15955
    at completeOutstandingRequest (angular.js:5490)
    at angular.js:5762(anonymous function) @ angular.js:12416(anonymous function) @ angular.js:9203Scope.$digest @ angular.js:15771(anonymous function) @ angular.js:15955completeOutstandingRequest @ angular.js:5490(anonymous function) @ angular.js:5762
2angular.js:12416 TypeError: Illegal invocation
    at equals (angular.js:1041)
    at equals (angular.js:1041)
    at Scope.$digest (angular.js:15747)
    at Scope.$apply (angular.js:16024)
    at angular.js:17791
    at completeOutstandingRequest (angular.js:5490)
    at angular.js:5762(anonymous function) @ angular.js:12416(anonymous function) @ angular.js:9203Scope.$digest @ angular.js:15771Scope.$apply @ angular.js:16024(anonymous function) @ angular.js:17791completeOutstandingRequest @ angular.js:5490(anonymous function) @ angular.js:5762

No idea what it's for.
Please help solve the problem

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
lega, 2015-11-24
@CybernatiC

This error occurs when a function is called without specifying the correct this, for example, a function from scope without the scope itself, log without console, alert without window, etc.
What version of Angular?

_
_ _, 2015-11-23
@AMar4enko

You have some kind of watch written crookedly, this is not an angular problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question