improvements to gillisKey service (angular)