Created
June 23, 2019 13:33
-
-
Save sagar-ganatra/710a21d0fc196694691eaa124405cf24 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
export function initApp(http: HttpClient) { | |
return () => { | |
return http.get('https://api.github.com/users/sagar-ganatra') | |
.toPromise() | |
.then((resp) => { | |
console.log('Response 1 - ', resp); | |
}); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment