How inject controller or controller method into component?


#1

Hi there!
I don’t understand it.


#2

You don’t inject controller to your component. You need pass through parameter your data or action, or try use bubble action. https://guides.emberjs.com/v2.5.0/components/passing-properties-to-a-component/