Good day.
I do ajax on angularjs, but it turns out to be synchronous, and the site hangs.
Example:
$http.get('api/getstudents'). success(function(data, status, headers, config) { $scope.Students= data; }); How to make it asynchronous and display the <div>Загрузка...</div> element first, and hide it at the end?