traverson-angular with HAL

AngularJS adapter for Traverson

Traverson makes it easy to work with REST/HATEOAS APIs. It works in Node.js as well as in the browser. traverson-angular makes it easy to integrate Traverson into your AngularJS application. This example demonstrates how to use traverson-angular together with media type plug-ins like traverson-hal. This example talks to the local Traverson test server.

There is also the more comprehensive example without HAL, an example using the GitHub API Example and an example using traverson-angular with Browserify.

To run this example locally, you should start the test server contained in the traverson-angular repository with node bin/start-test-server.js. This serves this page as well as the REST API that is used in the examples. Open the URL http://localhost:2808/static/browser/example in your browser. If the URL in your browser's address bar says file:... the examples on this page will not work.

Setup


Working with HAL