Angular service to change the page title that works with ui-router.