In the official Ember documentation is a section describing automatically generated controllers, once the model in a route has been set:
http://emberjs.com/guides/routing/generated-objects/#toc_generated-controllers
I wonder what would be the explicit code pendant to this process? In the doc it says "If you did not define it, one will be generated for you." and I assume, this does not happen in form of some auto-generated code, but in memory only.
Can someone show how the simplest version of an
- ObjectController
- ArrayController
- Controller
would look like if you generated them in Ember-CLI by hand?