Browse Source

Update http-requests.md

pull/23275/head
Fahri Gedik 1 year ago
parent
commit
b8261a62a1
  1. 3
      docs/en/framework/ui/angular/http-requests.md

3
docs/en/framework/ui/angular/http-requests.md

@ -31,12 +31,13 @@ In order to use the `RestService`, you must inject it in your class as a depende
```js ```js
import { RestService } from '@abp/ng.core'; import { RestService } from '@abp/ng.core';
import { inject } from '@angular/core';
@Injectable({ @Injectable({
/* class metadata here */ /* class metadata here */
}) })
class DemoService { class DemoService {
constructor(private rest: RestService) {} private rest = inject(RestService);
} }
``` ```

Loading…
Cancel
Save