An Angular application running in a browser uses remote services to retrieve and update data. The communication occurs over HTTP. Browsers widely support XMLHttpRequest (XHR) over HTTP. Out of the box, Angular provides services that ease making XHR calls in an Angular application. JSON (JavaScript Object Notation) is a good format for exchanging data between the server and a browser application. It is lightweight and efficient, considering JSON objects are simple text. Also, browsers readily interpret JSON data without needing additional libraries.
This chapter goes over ...