Example of restangular using a HATEOAS REST backend