O'Reilly logo

Mastering Ember.js by Mitchel Kelonye

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Inserting templates

In the previous chapter, we discussed how a state in an application is composed of various routes whose handlers are sequentially called in order to perform various functions that make up this state. As a recap, when the user loaded the application in the chapter sample, the application transitioned into the application state. The application route handler then rendered its corresponding application template into the DOM. The next route handler to be called was the contacts route handler that also loaded and rendered its template into the application template. We already discussed that the {{outlet}} Handlebars expression was the portion of the application template that got swapped out. This process repeated itself until the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required