Created
January 22, 2015 13:03
-
-
Save simonmorley/07c349c79fbaea694b66 to your computer and use it in GitHub Desktop.
medium, creating a login page, meraki logins. logins directive refactored
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
| scope.submit = function() { | |
| scope.loggingIn = true; | |
| scope.error = undefined; | |
| checkClientStatus().then(function(resp) { | |
| Client.details().then(function(client) { | |
| scope.client = client; | |
| doLogin(resp); | |
| }); | |
| }); | |
| }; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment