I am using angular-fullstack which comes packed with Authentication already set up. there is a handy function getCurrentUser()
which allows me to do something like:
<input ng-bind="getCurrentUser.name"/>
And I will get the name of the active user.
What I would like to do is attach the users name to another object in my scope. Something like this:
$scope.activeUser = $scope.getCurrentUser();
However I am not sure how to go about joining active user with the getCurrentUser() function.