blob: 7196f7bd45b9dc2860834cd88f3efe107ea376e3 [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
7 * @version 0.1.0
8 */
9
10window.angular && (function (angular) {
11 'use strict';
12
13 angular
14 .module('app.serverHealth')
15 .controller('inventoryController', [
16 '$scope',
17 '$window',
18 'APIUtils',
19 'dataService',
20 function($scope, $window, APIUtils, dataService){
21 $scope.dataService = dataService;
22
23 // Force to top of page when viewing single group
24 $window.scrollTo(0, 0);
25 }
26 ]
27 );
28
29})(angular);