refactor(angular.bootstrap): rename internal function