SHARE
TWEET

Untitled

a guest Dec 15th, 2014 4 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. app.controller('UserInfo', ['$scope', '$rootScope', 'Authentication', function($scope, $rootScope, Authentication)
  2.     {
  3.         $rootScope.userLoggedIn = !!Authentication.currentUser.name;
  4.         $scope.userName         = Authentication.currentUser.name;
  5.         $scope.userBlurb        = "Rocket Scientist and Entrepreneur";
  6.         $scope.userImgUrl       = Authentication.currentUser.picture;
  7.         $scope.userProfileUrl   = "#";
  8.        
  9.         console.log('userinfo ctrl');
  10.         console.log(Authentication.currentUser);
  11.     }]),
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top