rest api for angular store.