-
Implement the
ToDoListComponentwith one view container in the template. The component should have theaddItemmethod that takes a view and adds it to a view container. And theremoveItemmethod that detaches the view from a container and returns it. -
Implement the
AppComponentwith the template<span>I am a task</span>and two wrapper divs for theto-do-listcomponent. TheAppComponentshould create an embedded view from the template. It also should should query two child ToDoList components and using their API add/remove this view when a user clicksMovebutton. Seetask.giffor the demo.