airbnb/rendr — pull request #208 by spikebrehm (2013-12-04 19:27:19+00:00)
Title: [example] Show how to update page title in controllers

To answer a frequently asked question.

Show how to set static page titles, that don't depend on data, and dynamic page titles, which depend on the data that has just been fetched.

For initial pageload, embed page title in layout file using `

{{appData.title}}

`.

On subsequent pushState navigations, the `AppView` listens to changes of the `App`'s `title` property and updates `document.title`.