Created
June 5, 2017 12:01
-
-
Save seven-cd/4533ccae3868c841f22769045489a848 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
this.validate = function() { | |
return service.getStatus().then(function(response) { | |
return response.data; | |
}).catch(function(response) { | |
return response.message; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment