blob: 5fca94f279d30bf154923480150c5b54c9771a64 [file] [log] [blame]
Iftekharul Islamcd789502017-04-19 14:37:55 -05001/**
2 * Controller for server
3 *
4 * @module app/serverHealth
5 * @exports inventoryController
6 * @name inventoryController
Iftekharul Islamcd789502017-04-19 14:37:55 -05007 */
8
9window.angular && (function (angular) {
10 'use strict';
11
12 angular
13 .module('app.serverHealth')
14 .controller('inventoryController', [
Gunnar Millseedefd32018-02-28 17:02:34 -060015 '$scope',
16 '$window',
17 'APIUtils',
Iftekharul Islamcd789502017-04-19 14:37:55 -050018 'dataService',
19 function($scope, $window, APIUtils, dataService){
20 $scope.dataService = dataService;
21
22 // Force to top of page when viewing single group
23 $window.scrollTo(0, 0);
24 }
25 ]
26 );
27
28})(angular);