18 lines
738 B
JavaScript
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);
|
|
}]);
|
|
})();
|