This repository has been archived on 2022-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
AriaNg/app/scripts/controllers/settings-ariang.js
2016-06-22 22:23:18 +08:00

18 lines
738 B
JavaScript

(function () {
'use strict';
angular.module('ariaNg').controller('AriaNgSettingsController', ['$rootScope', '$scope', '$timeout', 'ariaNgLanguages', 'ariaNgCommonService', 'ariaNgSettingService', function ($rootScope, $scope, $timeout, ariaNgLanguages, ariaNgCommonService, ariaNgSettingService) {
$scope.context = {
languages: ariaNgLanguages,
availableTime: ariaNgCommonService.getTimeOptions([1000, 2000, 3000, 5000, 10000, 30000, 60000], true),
settings: ariaNgSettingService.getAllOptions()
};
$scope.settingService = ariaNgSettingService;
$rootScope.loadPromise = $timeout(function () {
;//Do Nothing
}, 100);
}]);
})();