-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 'call back is not a function' when running with angular 1.5.8 #51
Comments
The value has to be a variable and not just a value like so callback="callbackvariable" and not callback="callbackfunction()" The callback would be a variable in the scope assigned to a function
|
Apologies, this doesn't work, it doesn't resolve scope changes |
Hello, I'm facing the same issue with integration of this component , I'm running the code from the example in main.js file in this repo. |
+1 |
+1 Running angular.js 1.5.8 and getting |
can anybody resolve this error |
Same error here with Angular 1.4.0 |
To Fix, this issue finds the instructions below. in your HTML In Controller $scope.csvCallback = function (result) { |
not working |
In the definition of the directive the callback attribute is using = for bidirectional binding; It should probably use & to bind to an expression. This would allow the use of the callback similar to ngChange or ngClick. |
add this into ur controller. $scope.csv = {
In ur html it should be like this |
Calback is simply not doing anything... |
@srokatonie This code is copied from the project I am working on .......and it works perfectly. |
@nainyshah turned out I am using outdated (2015) package that was available on npmjs... I build npm package with the most recent version of this repo if anyone needs it: However I noticed when debugging that |
Hi,
Getting below error when running with angular 1.5.8.
Error: scope.callback is not a function
.link/</reader.onload/</<@http://192.168.56.101:9000/bower_components/angular-csv-import/dist/angular-csv-import.js:68:8
$RootScopeProvider/this.$get</Scope.prototype.$digest@http://192.168.56.101:9000/bower_components/angular/angular.js:16789:13
$RootScopeProvider/this.$get</Scope.prototype.$apply@http://192.168.56.101:9000/bower_components/angular/angular.js:17003:13
.link/</reader.onload@http://192.168.56.101:9000/bower_components/angular-csv-import/dist/angular-csv-import.js:58:6
http://192.168.56.101:9000/bower_components/angular/angular.js
Line 13294
The text was updated successfully, but these errors were encountered: