html - how to implement progress bar using angular js for processing multiple request? -


i have created multiple orders , have confirm these orders until , unless orders gets confirmed have show progress bar , have show status of ordered confirmed

i.e. suppose have confirmed 10 orders 1/10 2/10 3/10 ...10/10 status of orders getting confirmed @ background.

below have 1 example doesn't meets requirement ..

angular.module("app", []) .controller("main", ['$scope',     function($scope) {         $scope.value = 10         $scope.items = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100] }]) .directive('progressbar', [function() {         return {             restrict: 'a',             scope: {                 'progress': '=progressbar'             },             controller: function($scope, $element, $attrs) {                 $element.progressbar({                     value: $scope.progress                 })                      $scope.$watch(function() {                     $element.progressbar({value: $scope.progress})                 })             }         } }])

i have once used below template:

you can use it:

http://victorbjelkholm.github.io/ngprogress/


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -

Why does a .NET 4.0 program produce a system.unauthorizedAccess error on a Windows Server 2012 machine with .NET 4.5 installed? -