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

In ChatDetailCtrl $scope.chatToUser is null after Login #9

Open
tej-rana opened this issue Nov 19, 2015 · 0 comments
Open

In ChatDetailCtrl $scope.chatToUser is null after Login #9

tej-rana opened this issue Nov 19, 2015 · 0 comments

Comments

@tej-rana
Copy link

I get to the ChatDetailCtrl and $scope.chatToUser is null.

I don't understand. I cleared all the online users in firebase, restarted the app, logged in with my gmail account, got to the DashCtrl. When I log the user key it shows what is currently in firebase. Once I click the arrow to take me to the ChatDetailCtrl it stops there.

Well obviously there is no "other" user to begin with. So the application logic is flawed. You cannot do JSON.parse(null).

I don't understand how you were able to run in the book. I checked all your sources and I have the same source.

I tried this on an emulator and a device.

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

1 participant