Async load property in controller from another controller

I don’t understand, how it would be possible to to fetch data from a different controller into another one…

I want to have a more generic controller which just loads some stupid plain json that can be used in a dropdown, where the server endpoint would be something like ‘list/:type’ so for instance: list/persons or list/buildings .

From a person/:id route I want to be able to get all the buildings into the person controller as to, lets say , use it to populate a select dropdown field. My naive thought was now just add the list controller as dependency with needs and than set the :type somehow and trigger the loading - but, how? I’m totally lost on this…

It was to easy…

Just found out that I would fill the controller property directly in the route that is using it…