Open History to see the last commit
1---
2id: provideAngularQuery
3title: provideAngularQuery
4---
5β
6# ~~Function: provideAngularQuery()~~
7β
8```ts
9function provideAngularQuery(queryClient): Provider[];
10```
11β
12Defined in: [providers.ts:124](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/providers.ts#L124)
13β
14Sets up providers necessary to enable TanStack Query functionality for Angular applications.
15β
16Allows to configure a `QueryClient`.
17β
18## Parameters
19β
20### queryClient
21β
22`QueryClient`
23β
24A `QueryClient` instance.
25β
26## Returns
27β
28`Provider`[]
29β
30A set of providers to set up TanStack Query.
31β
32## See
33β
34https://tanstack.com/query/v5/docs/framework/angular/quick-start
35β
36## Deprecated
37β
38Use `provideTanStackQuery` instead.