Created
May 13, 2015 17:37
-
-
Save nickclaw/7a9f1d8e26a652e08b0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('module').factory('profile', [ | |
function() { | |
var user = window.__user; | |
delete window.__user; | |
return user; | |
} | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment