8000 Fixed typo in docs · sumit-jaiswal/restangular@253f2b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 253f2b4

Browse files
committed
Fixed typo in docs
1 parent 21b333d commit 253f2b4
CE8B

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ Restangular comes with defaults for all of its properties but you can configure
332332
You can set all these configurations in **`RestangularProvider` or `Restangular` service to change the global configuration** or you can **use the withConfig method in Restangular service to create a new Restangular service with some scoped configuration**. Check the section on this later.
333333

334334
#### setBaseUrl
335-
The base URL for all calls to your API. For example if your URL for fetching accounts is http://example.com/api/v1/accounts, then your baseUrl is `/api/v1`. The default baseUrl is an empty string which resolves to the same url that AngularJS is running, so you can also set an absolute url like `http://api.example.com/api/v1` if you need do set another domain.
335+
The base URL for all calls to your API. For example if your URL for fetching accounts is http://example.com/api/v1/accounts, then your baseUrl is `/api/v1`. The default baseUrl is an empty string which resolves to the same url that AngularJS is running, but you can also set an absolute url like `http://api.example.com/api/v1` if you need to set another domain.
336336

337337
#### setExtraFields
338338
These are the fields that you want to save from your parent resources if you need to display them. By default this is an Empty Array which will suit most cases

0 commit comments

Comments
 (0)
0