A rest interface for angular