Skip to content

Commit a81095d

Browse files
author
Soufian DAOUDI
committed
Fixed minor typo
1 parent 78b58f3 commit a81095d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ In this case, you'd need to use RestangularProvider's `addResponseInterceptor`.
11201120
````javascript
11211121
app.config(function(RestangularProvider) {
11221122

1123-
// add a response intereceptor
1123+
// add a response interceptor
11241124
RestangularProvider.addResponseInterceptor(function(data, operation, what, url, response, deferred) {
11251125
var extractedData;
11261126
// .. to look for getList operations
@@ -1149,7 +1149,7 @@ RestangularProvider.setRestangularFields({
11491149

11501150
#### **What if each of my models has a different ID name like CustomerID for Customer**
11511151

1152-
In some cases, peolpe have different ID name for each entity. For example, they have CustomerID for customer and EquipmentID for Equipment. If that's the case, you can override's Restangular's getIdFromElem. For that, you need to do:
1152+
In some cases, people have different ID name for each entity. For example, they have CustomerID for customer and EquipmentID for Equipment. If that's the case, you can override's Restangular's getIdFromElem. For that, you need to do:
11531153

11541154
````js
11551155
RestangularProvider.configuration.getIdFromElem = function(elem) {

0 commit comments

Comments
 (0)