I have a simple array in the controller:
App.HomeController = Ember.Controller.extend({ items: ['item1', 'item2', 'item3'] });
I would like to display the first element in the template; following the instructions in the other posts I make:
{{items.[0]}}
Or that...
{{controller.items.[0]}}
... but the result is always nothing; Am I doing something wrong here?
Cereal killer
source share