Connect API to Angular app