Skip to content
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

How can i access the collection via $scope? #51

Open
TannerMeng opened this issue Nov 11, 2014 · 6 comments
Open

How can i access the collection via $scope? #51

TannerMeng opened this issue Nov 11, 2014 · 6 comments

Comments

@TannerMeng
Copy link

"



....
"

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?

@begriffs
Copy link
Owner

begriffs commented Feb 5, 2015

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

@begriffs
Copy link
Owner

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.

@umdstu
Copy link

umdstu commented Aug 30, 2016

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.

@begriffs begriffs reopened this Aug 30, 2016
@begriffs
Copy link
Owner

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

@umdstu
Copy link

umdstu commented Aug 30, 2016

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

@begriffs
Copy link
Owner

begriffs commented Oct 4, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants