I use the $http
of angular JS to work with web-services, does anyone know how to create a progressbar using this method?
$http.get( "json.php?action=3"
+ "&id=" + id
+ "&val=" + $("#v"+id).val()
+ "&ajax_select_tab=" + ajax_select_tab
+ "&ajax_where=" + ajax_where ).then(function (result) {
if (result.status === 200) {
var chave = rows_.indexOf(ajax_select_tab[1]);
$scope
.rows[chave]["array_selec_data"] = result.data;
} else {
alert("Erro ao carregar o arquivo JSON!");
}
});
I wanted to use the bootstrap progress bar, but I can not find a method that does ajax and return the flush of the request.