angular-paginate-anything icon indicating copy to clipboard operation
angular-paginate-anything copied to clipboard

How can i access the collection via $scope?

Open code-griffin opened this issue 10 years ago • 6 comments

"

....
"

Pagination works great. However i wanted to access gqs (collection) via $scope.gqs in paginationController when i click a button. unfortunately console.log($scope.gqs) said "undefined" I make sure that data was loaded successfully before i click button. Any ideas?

code-griffin avatar Nov 11 '14 08:11 code-griffin

Sorry for the delayed response. Is this still an issue for you?

begriffs avatar Feb 05 '15 03:02 begriffs

Due to your not responding I'm going to assume it's not a problem anymore. Let me know if you want to reopen the issue.

begriffs avatar Feb 19 '15 18:02 begriffs

I'm having this same issue... is the variable passed to the directive to store the collection suppose to be updated in the controller? it's always undefined.

umdstu avatar Aug 30 '16 16:08 umdstu

Not sure off the top of my head. I've created myself a TODO to look into this.

begriffs avatar Aug 30 '16 17:08 begriffs

Thanks @begriffs . Let me know how I can help.

umdstu avatar Aug 30 '16 17:08 umdstu

OK, I looked into it more but it's not clear. I'll let an Angular expert chime in here.

At this point Angular is not a technology that I intend to keep investing my time in, but I'm happy to accept pull requests for this project.

begriffs avatar Oct 04 '16 01:10 begriffs