This course has been updated! We now recommend you take the Angular 9 Fundamentals course.

Check out a free preview of the full Building Awesome Web Apps with Angular 2 course:
The "Challenge 9" Lesson is part of the full, Building Awesome Web Apps with Angular 2 course featured in this preview video. Here's what you'd learn in this lesson:

In this homework challenge, students create a method inside the service that uses HTTP to get JSON.

Get Unlimited Access Now

Transcript from the "Challenge 9" Lesson

>> Lukas Ruebbelke: What I would like you to do at your convenience is essentially what I have done. So I'd like you to actually load your widgets via an async call.
>> Lukas Ruebbelke: And then from there, continue with that pattern, flesh out CRUD functionality using the ItemsServices reference. What I'd recommend is to set the image bit aside.

[00:00:30] I wouldn't worry about that. I would take a first pass and just display, for instance, item and description. And I recommend using subscribe. That would be kind of the bonus reach, but if you must, use promise, or to promise. In fact I'd even try them both and see how they feel, and I think you'll find that .subscribe is just as easy or if not more so.