- var currUser;
- return {
- currentUser: function() {
- $http.get("/current_user").success(
- function(data) {
- currUser = data.current_user;
- });
- console.log(currUser);
- }
- };
SHARE
TWEET
Untitled
a guest
Dec 19th, 2014
159
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
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.

