Slightly dynamic pages
Our plan is to edit the Home, Help, and About pages to make page titles that change on each page. This will involve using the
<title> tag in our page views.
The (mostly) static pages for the sample app:
We’ll write simple tests for each of the titles
With the tests, you should verify that the test suite is currently failing
Adding page titles
Using the head directive and state data to dynamically change title
We can simply verify that the test suite is still passing
Setting the root route
Setting the root route to the Home page.