I am trying to do the following with ember.js
I want a single route to display twice the same view which represents a google pie chart.
I defined my view and coded the template like this
{{view App.MyView identifier:1}}
{{view App.MyView identifier:2}}
I want each of this view to query the server for a specific resource and get the chart data from there. Let's say
/charts/1.json
/charts/2.json
But both of these views have the same controller, inherited from the single route.
I don't know how to back each view with its own set of data ...
I am using ember.js 1.0.0.rc6 with ember-data 0.13 and ember-rails 0.12.0 at the moment.
I am doing things correctly here ?