The documentation provides an example of using ArrayController with this template:
{{
Here's how the ArrayController used:
MyApp.listController = Ember.ArrayController.create(); $.get('people.json', function(data) { MyApp.listController.set('content', data); });
How will this work otherwise than using a simple array instead?
MyApp.listController = []; $.get('people.json', function(data) { MyApp.set('listController', data); });
nicholaides
source share