Skip to content

Instantly share code, notes, and snippets.

@simonmorley
Created January 22, 2015 13:03
Show Gist options
  • Save simonmorley/07c349c79fbaea694b66 to your computer and use it in GitHub Desktop.
Save simonmorley/07c349c79fbaea694b66 to your computer and use it in GitHub Desktop.
medium, creating a login page, meraki logins. logins directive refactored
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