What is the best way to use Angular Material\'s Progress circular component with a $http request?
$http
I currently have the code like this below:
Progre
I don't think you need the value attribute here with determinate mode. Instead you should use indeterminate mode, then show and hide the progress indicator using ngShow.
value
determinate
indeterminate
ngShow
And in your JS
$scope.isLoading = true; $http.get("/posts") .success(function (data) { $scope.isLoading = false; });