Let’s say I need a custom dropdown list that I want to populate with data once the user expands it. My current idea is to have properties in the controller like expanded " and contentLoaded. When user clicks the dropdown I would set expanded to true. I would have a listener for the change of this property where I would load the data and set contentLoaded to true so I don’t have to reload it next time.
Is there a more emberish way of doing this?