In the menu bar at the top, I perform an API call to retrieve my list of states when ‘States’ is clicked; which works fine. Once the API call returns, my list of ‘States’ under the menu bar displays.
When I click a state name below the menu bar, my API call is not being made. It’s simply updating the model with the state information that was returned from my first API call. I would like to perform an API every time a state is clicked. What would be the best/recommended way to do this?
Here is a link to a sample Ember app that I through together.