Angular JS – Simple and complete $q service example with promise

When you need to make a blocking call in Angular JS you may find the $q service handy. It’s built right into the base Angular framework, and will free up the browser when performing actions that can take some time.

Here is a complete, but simple example.

 

Leave a Reply

Your email address will not be published. Required fields are marked *