HATEOS navigation service for angular.js