NGX-RESTANGULAR MAKE REST API EASIER
Ngx-Restangular is a tailor made Angular solution for any web application that gets data from RESTful API.
ADVANTAGES OF NGX-RESTANGULAR
Easy to use when working on complex client-side tasks. Supports promises and observables, has clear structure and a long list of features.
Send requests easily using different settingsSet configuration to use various settings in diverse parts of your application. Generate different requests to different services without troubles.
Send request from within an objectOnce you have got an object as an response for an URL you are able to send further quests using that object. No need to specify the URL each time.
Use meaningful names instead of URLsOnce you receive an object from an URL you can use meaningful names to access data next time. There is no need to remember each URL you use.
Specify custom HTTP methodsIt is possible to add custom HTTP methods. Add unique logic to a custom method and receive what you need with a server response.
Work with nested RESTful resourcesNgx-restangular has built-in features to work with nested entities.
Do not create new object for each requestSend the first query, receive an object and use it further to make server requests instead of creating new objects each time.