Dynamically call the 'render' helper


#1

Hello,

Lets say I have this:

App.SomeController = Ember.Controller.extend
  list: [ 
    {controller: 'one', context: 1}
  , {controller: 'two', context: 2}
  , {controller: 'three', context: 3}
  ]

What I want to do is something like: In ‘some’ template:

{{each list}}
  {{render controller context}}
{{/each}}

That is to iterate over a list of controllers names and render each with its model.

For some reason it doesn’t work me…

Thanks!