An angularJS rest client with ORM