use $rootScope for compose events, add focusWhen directive