Added API for Angular app