Creating an Application
Every Ember.js application has one instance of
This object is located at
./app/app.js inside your project.
What does creating an
Ember.Application instance get you?
- It adds event listeners to the document and is responsible for delegating events to your views. (See The View Layer for a detailed description.)
- It automatically renders the application template.
- It automatically creates a router and begins routing, choosing which template and model to display based on the current URL.