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}) }) } } }])
Comments
Post a Comment