Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/jobs/jobsCtrl.js @ 12477

Last change on this file since 12477 was 12477, checked in by dglaser, 9 years ago

#2388: Created WebApp.Statistics plugin

File size: 447 bytes
Line 
1(function () {
2    var module = appStatisticsPlugin.getAngularModule();
3    module.controller('app.statistics.jobsCtrl',
4        ['$scope', 'app.statistics.data.service', function($scope, statisticsService) {
5            var getJobs = function() {
6                statisticsService.getJobs({}, function(jobs) {
7                    $scope.jobs = jobs;
8                });
9            };
10            getJobs();
11        }]
12    );
13})();
Note: See TracBrowser for help on using the repository browser.