We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello.
I am getting the error in this block.
if (!scope.pullToRefreshActive) { scope.pullToRefreshActive = true; scope.refreshFunction().then(function () { scope.pullToRefreshActive = false; }); scope.$digest(); }
Really have no clue of what's going on because at runtime the scope object does have the function defined as:
function (locals) { return parentGet(scope, locals); }
Thanks
The text was updated successfully, but these errors were encountered:
I had the same error. The refreshFunction expects a promise as return. The sample shows the following.
$scope.refreshFunction = function() { var deferred = $q.defer(); setTimeout(function() { $scope.randomItem(); deferred.resolve(true); }, 2000); return deferred.promise; };
So you could put your function within the promise.
Sorry, something went wrong.
No branches or pull requests
Hello.
I am getting the error in this block.
Really have no clue of what's going on because at runtime the scope object does have the function defined as:
Thanks
The text was updated successfully, but these errors were encountered: