📚 Read the book 👉 https://go.asim.dev/angular-book
🔥 Level up your JavaScript 👉 https://go.asim.dev/advjs
🌿 If you find my videos useful please consider planting a tree for me 👉 https://go.asim.dev/trees
🎥 Watch the full playlist 👉 https://go.asim.dev/angular-playlist
The best place to view the code associated with this course is in the online book (https://go.asim.dev/angular-book) via the book if a lecture has code associated with it, it then also has a link to a stackblitz instance so you can run and edit the code sample online.
The recommended method to interact via a Http service is by creating an intermediate service which has the responsibly of communicating with the API and converting the raw data into one or more domain models.
In this lecture, we handled asynchronous code by using promises. By converting the observable returned from he http client lib into a promise and also by returning and resolving our own promise from SearchService.
In the next lecture, we’ll look at how we can implement the same solution by using observables.
Watch video EP 11.3 - Angular / HTTP / HTTP with Promises online without registration, duration hours minute second in high quality. This video was added by user jawache 26 December 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 39,66 once and liked it 8 people.