Oddly enough, it doesn't work to use `$document.title`.