refactor: as $AlgoliaProvider