[example] Show how to update page title in controllers

To answer a frequently asked question.