docs: function getService(service) {
              // strings and functions are not considered objects by angular.isObject()
              if (angular.isObject(service)) {
                  return service;
              } else if (service) {
                  return createService(service);
              }
  
              return undefined;
          }