Skip to content

Instantly share code, notes, and snippets.

@alvincrespo
Created April 1, 2015 16:27
Show Gist options
  • Save alvincrespo/23f3ded45a712b8b47ef to your computer and use it in GitHub Desktop.
Save alvincrespo/23f3ded45a712b8b47ef to your computer and use it in GitHub Desktop.
The value that #each loops over must be an Array
import Ember from 'ember';
export default Ember.Controller.extend({
headers: ['Scare', 'Total'],
data: [{ scare: 'Sullivan', total: 100232 }, { scare: 'Randall', total: 99905 }, { scare: 'Ranft', total: 79405 }],
scare: 'Jon',
total: 2
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment