Conseqta interview question

How do you make a call to a REST API from an Angular service?