Ember.js provides us with two types of controllers:
Ember.ArrayController. We have been using
Ember.ObjectController in many examples throughout this book.
ObjectController works on one object and
ArrayController works on an array or list of objects.
When we say that
setupController hook that was discussed in the previous chapter to set the model property of the controller. The default behavior of the
setupController method is to set the model property on the controller to what is returned from the model ...