How can I do select all checkboxes without using controller

I have got a select all check box sample in which controller is using how can I do the same thing without using controller

here is the jsbin link

You could use a component. But there’s no need to, using controllers for that is fine

I heard that sooner, controller is going to get deprecated. So I have to do it with only using component. Is there any sample for select all check boxes using only components

This is not something you need to worry about. The implementation with routable components when they exist will look essentially identical.