Skip to content

Details

We'll talk about Promises and how Angular implements them.

"A promise is an interface for interacting with an object that represents the result of an action that is performed asynchronously, and may or may not be finished at any given point in time.

From the perspective of dealing with error handling, deferred and promise apis are to asynchronous programming what try, catch and throw keywords are to synchronous programming.

The $http API is based on the deferred/promise APIs exposed by the $q service. While for simple usage patterns this doesn't matter much, for advanced usage, it is important to familiarize yourself with these APIs and the guarantees they provide."

Darren Nelsen is a Senior Consultant with Daugherty Business Solutions and an expert in JavaScript and AngularJS.

Location: The Daugherty office is in Phipps Tower, the big glass building right next to Belk and Davio's. Daugherty is on the 9th floor.

Parking: Free parking is available between Phipps Tower and Belk

Related topics

You may also like