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 -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

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