LiveOak's `lo-autofocus` directive is implemented here: https://github.com/liveoak-io/liveoak/blob/792ef16af6cba1c5d452f2f3cd8f8f5a679df8d5/console/src/main/resources/app/js/directives.js#L258 It would be handy to expose it as `pf-autofocus` directive to allow sharing this functionality between diffirent consoles.