app/scripts/views/grid/grid.js (8 lines of code) (raw):

App.GridView = Ember.View.extend({ templateName: "grid/gridTemplate", controller: App.Grid.create(), didInsertElement: function () { var controller = this.get("controller"); controller.send("loadData"); } });