IBM Interview Question

How to implement api calling with angular