mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-10 07:48:52 +00:00
Restructure Sass files and folders for proper application Sass development
This commit is contained in:
committed by
Francis Lachapelle
parent
a87bbc2de5
commit
5217c0ac64
@@ -0,0 +1,21 @@
|
||||
angular.module('progressLinearDemo1', ['ngMaterial'])
|
||||
.config(function($mdThemingProvider) {
|
||||
})
|
||||
.controller('AppCtrl', ['$scope', '$interval', function($scope, $interval) {
|
||||
$scope.mode = 'query';
|
||||
$scope.determinateValue = 30;
|
||||
$scope.determinateValue2 = 30;
|
||||
|
||||
$interval(function() {
|
||||
$scope.determinateValue += 1;
|
||||
$scope.determinateValue2 += 1.5;
|
||||
if ($scope.determinateValue > 100) {
|
||||
$scope.determinateValue = 30;
|
||||
$scope.determinateValue2 = 30;
|
||||
}
|
||||
}, 100, 0, true);
|
||||
|
||||
$interval(function() {
|
||||
$scope.mode = ($scope.mode == 'query' ? 'determinate' : 'query');
|
||||
}, 7200, 0, true);
|
||||
}]);
|
||||
Reference in New Issue
Block a user