import angular from 'angular'; import RingProgressBar from '@jetbrains/ring-ui/components/progress-bar-ng/progress-bar-ng'; angular.module('Example.progressBar', [RingProgressBar]). controller('ExampleCtrl', function ($interval) { this.value = 0; $interval(() => { const currentValue = this.value; this.value = currentValue >= 1 ? 0 : currentValue + 0.1; }, 500); });