Allow Angular to call API