In this building block, we cleaned up our component tree and established clean encapsulation using subcomponents. Then, we set up the interfaces provided by Angular using input bindings. We performed these actions by following the ensuing steps:
- We created a task subcomponent
- We used the task subcomponent with the task list component
- We used input bindings and DOM element property bindings to establish one-way data binding in the task component