Consuming External Services

Angular has built-in support for communication with remote HTTP servers. The $http service handles low-level AJAX requests via the browser’s XMLHttpRequest object or via JSONP. The $resource service lets you interact with RESTful data sources and provides high-level behaviors which naturally map to RESTful resources.

Table of Contents

  1. Consuming External Services
  2. Requesting JSON data with AJAX
  3. Consuming RESTful APIs
  4. Consuming JSONP APIs
  5. Deferred and Promise
  6. Testing Services