You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When complling the element and then binding it to scope in Jasmine test for testing my directive, for example something like this: $compile(angular.element('
'))($rootScope.$new()) the following error occures: 'undefined' is not a function (evaluating 'this.handleDrag.bind(this)').
When do the same in in directive in main code - everything is ok!
The text was updated successfully, but these errors were encountered:
When complling the element and then binding it to scope in Jasmine test for testing my directive, for example something like this: $compile(angular.element('
'))($rootScope.$new()) the following error occures: 'undefined' is not a function (evaluating 'this.handleDrag.bind(this)').When do the same in in directive in main code - everything is ok!
The text was updated successfully, but these errors were encountered: