Last active
February 1, 2016 15:50
-
-
Save dhoko/5d1195da56db7511d934 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| var PSEUDO = 'bob' | |
| var service = angular.element(document.body).injector().get('Username') | |
| service.register(PSEUDO, function(data) { | |
| location.href = '/'; | |
| }, function(data) { | |
| console.log(data) | |
| }); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Démo: https://onename.com/dhoko