> For the complete documentation index, see [llms.txt](https://shoppinpal.gitbook.io/docs-shoppinpal-com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shoppinpal.gitbook.io/docs-shoppinpal-com/7.-promises/nuances.md).

# Nuances

## Differences between usage in nodejs vs angularjs

When we execute http requests calls from AngularJS services, usually we use $http which returns by default a promise object which we use like so:

```
$http.get()
.$promise.then(function(){
});
```

Whereas in nodejs we can do:

```
request.get()
.then(function(){
});
```
