mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-23 10:26:23 +00:00
15 lines
403 B
JavaScript
15 lines
403 B
JavaScript
angular.module('progressCircularDemo1', ['ngMaterial'])
|
|
.controller('AppCtrl', ['$scope', '$interval',
|
|
function($scope, $interval) {
|
|
$scope.mode = 'query';
|
|
$scope.determinateValue = 30;
|
|
|
|
$interval(function() {
|
|
$scope.determinateValue += 1;
|
|
if ($scope.determinateValue > 100) {
|
|
$scope.determinateValue = 30;
|
|
}
|
|
}, 100, 0, true);
|
|
}
|
|
]);
|