EN RU

Waiting for finishing asynchronous calls in AngularJS

Tip

Here I’ll try to describe a few ways of waiting for asynchronous calls finish in AngularJS, from simplest to more complicated.

Simplest option from documentation about $http

When we use $http service, we can set two methods which will call only after http request, “success” and “error”

read full ⇝

    2015-01-30 10:00:40      javascript angularjs