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

18 lines
738 B
JavaScript
Raw Normal View History

(function () {
'use strict';
2016-06-22 16:23:18 +02:00
angular.module('ariaNg').controller('AriaNgSettingsController', ['$rootScope', '$scope', '$timeout', 'ariaNgLanguages', 'ariaNgCommonService', 'ariaNgSettingService', function ($rootScope, $scope, $timeout, ariaNgLanguages, ariaNgCommonService, ariaNgSettingService) {
2016-06-20 18:20:30 +02:00
$scope.context = {
languages: ariaNgLanguages,
availableTime: ariaNgCommonService.getTimeOptions([1000, 2000, 3000, 5000, 10000, 30000, 60000], true),
settings: ariaNgSettingService.getAllOptions()
};
$scope.settingService = ariaNgSettingService;
2016-06-22 16:23:18 +02:00
$rootScope.loadPromise = $timeout(function () {
;//Do Nothing
}, 100);
}]);
})();