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

$rootScope loggedin event emits userObj #1513

Merged
merged 1 commit into from
Mar 23, 2016
Merged

$rootScope loggedin event emits userObj #1513

merged 1 commit into from
Mar 23, 2016

Conversation

timelf123
Copy link
Contributor

Since Global service doesn't work as anticipated, this is an easy way to get the logged in user. To consume:

$rootScope.$on('loggedin', doStuff);

function doStuff(event, data) {
  console.log(data);
}

@timelf123 timelf123 merged commit 29df001 into linnovate:master Mar 23, 2016
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

Successfully merging this pull request may close these issues.

1 participant