Check out a free preview of the full Building Awesome Web Apps with Angular 2 course:
The "Challenge 8" 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 challenge, students make a form for the widget-details component, bind the form to a widget object, and submit the details to the parent component.

Get Unlimited Access Now

Transcript from the "Challenge 8" Lesson

>> Lukas Ruebbelke: What I'd like you to do is take your widgets detail component and convert that JSON dump into a form. Then what I'd like you to do is.
>> Lukas Ruebbelke: Essentially create a button to save the edited widget, a button to cancel editing the widget, and then using ngForm, perform some kind of validation.

[00:00:25] And for the markup, by all means, you can reference the item's detail component to save some of your typing on the HTML itself.