Mostrar progreso circular durante $ http post?
¿Cuál es la mejor manera de usar material angular?Circular de progreso componente con un$http
¿solicitud?
Actualmente tengo el código como este a continuación:
Circular de progreso:
<md-progress-circular ng-if="determinateValue === 100" md-mode="determinate" value="{{determinateValue}}"></md-progress-circular>
$http
solicitud:
$scope.determinateValue = 0;
$http.get("/posts")
.success(function (data) {
$scope.posts = data;
$scope.determinateValue = 100;
})