angular-bootstrap-file-field
angular-bootstrap-file-field copied to clipboard
TypeError: Illegal invocation
Hi,
While selecting the file, the bellow error is showing in CHROME Browser console
TypeError: Illegal invocation at fa (angular.js:925) at fa (angular.js:925) at l.$digest (angular.js:14224) at angular.js:14427 at e (angular.js:4902) at angular.js:5282 (anonymous) @ angular.js:11598 (anonymous) @ angular.js:8548 $digest @ angular.js:14248 (anonymous) @ angular.js:14427 e @ angular.js:4902 (anonymous) @ angular.js:5282
Form Edge Browser Console TypeError: Invalid calling object at fa (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.11/angular.min.js:12:462) at fa (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.11/angular.min.js:12:462) at l.prototype.$digest (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.11/angular.min.js:123:393) at Anonymous function (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.11/angular.min.js:126:268) at e (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.11/angular.min.js:40:337) at Anonymous function (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.11/angular.min.js:44:375)
Had the same issue, solved with this users comment:
"it seems to be caused by the ng-class directive. After removing the ng-class from the element, or simply do not check the ng-model var, the error is gone."