I have 2 different modules listings and contacts. Each has their own route and controller. Now there is a new requirement where partial information from contacts must be visible in the listings page. I'm having a hard time figuring out how to access the contacts model inside the listings route.
I went through the Ember docs and I came across 2 ways to access a different controller inside a route. One being the needs hash inside the controller and the other is the setupController hash inside the route. I tried both but failed. I'm most likely doing something wrong. I created a JSFiddle below. Would really appreciate if anyone can point me in the right direction.
PS: I'm not using Ember Data